Yogurt with lactobacillus can help treat thrush in babies over six months of age. However, you may need prescription medication for both you and your baby, so talk to your child’s pediatrician about the best course of treatment.