An antibiotic is prescribed for 10 to 14 days. Be sure the entire course of treatment is finished to avoid recurrence. Mastitis causes some women to wean their baby early. It's important to remember that you should continue to breastfeed. In fact, the affected breast should be kept empty of milk through frequent breastfeeding. Call your physician if flu-like symptoms develop or a fever over 100.4 degrees F.