When my puppy had an infection (vaginitis- she's a female), there would be some green discharge, usually after she urinated. Your pup might need antibiotics if he has an infection. Is he having any trouble urinating? Or does he need to go out more often than usual? I found that wiping her bottom with baby wipes after she urinated helped to keep everything clean.