Yeast dermatitis is not contagious; your dog did not get this infection from another dog. Opportunistic yeast infections often recur unless the underlying allergy or skin condition is controlled.