Oral thrush and other candida infections can occur when your immune system is weakened or when the natural balance of microorganisms in your body is disturbed.

If you're breast-feeding an infant who has oral thrush, you and your baby will do best if you're both treated. Otherwise, you're likely to pass the infection back and forth. Your doctor may prescribe a mild antifungal medication for your baby and an antifungal cream for your breasts. Additionally, if you use a breast pump, rinse any of the detachable parts that come in contact with your milk.
Practice good oral hygiene
Try warm saltwater rinses
Use nursing pads. If you're breast-feeding and develop a fungal infection, this will help prevent the fungus from spreading to your clothes. Look for pads that don't have a plastic barrier, which can encourage the growth of candida.
And lastly,always practice proper hygiene.It's always the best way if you have a baby.

Take care...