It is usually safe to breastfeed with mastitis. Nursing or pumping can help remove the clog and drain the stagnant milk from the breast.