So, how do you avoid mastitis? Overall, removing milk from the breast regularly is the best way to prevent this condition. Whether you do it by pumping or by feeding, getting that breast milk out is key to increasing your comfort and cutting down on pain from engorged breasts. (Milk removal is also vital in maintaining a strong milk supply, too!)
Another important way to prevent mastitis is to make sure your baby has a good latch. If your baby is regularly leaving milk in the breasts, this can contribute to plugged ducts and other issues. Sometimes, babies who have a tongue tie or other latching issues have a difficult time getting enough out of the breasts, which can cause nipple pain and milk duct issues.
If your baby is on a nursing strike or can't nurse at the breast for some other reason (like illness), it's still extremely important to keep milk flowing out of your breasts. Pump as often as your baby would normally feed. Be sure to keep your nipples clean and dry at all times, especially if you have any nipple trauma. Air your nipples out after and between feedings.
To prevent mastitis that develops from clogged ducts, avoid wearing tight-fitting bras or tops. There are a lot of cute nursing bras out there, but it's a good idea to go without a bra whenever possible, like when you're lounging at home or sleeping. When you exercise and wear a sports bra, take it off immediately after finishing your workout.