It's important to know, however, that if this is a yeast infection, rather than a bacterial infection, the Cephalexin will not fix it. Also, giving any medication without talking to your vet could cause your dog to become sicker as the wrong meds or the wrong dose can be toxic and can be fatal.