Most medications are safe to take while breastfeeding. Also, the benefit of continuing a medication for a chronic condition may outweigh any potential risks.
Still, a few medications aren't safe to take while breastfeeding. If you're taking a medication that could be harmful to your baby, your health care provider might recommend an alternative drug. Or they might recommend breastfeeding when the medication is at a low level in your breast milk.
Sometimes your health care provider might recommend that you stop breastfeeding temporarily or permanently. The recommendation can depend on how long you need to take the drug. If you know in advance, you can pump in addition to breastfeeding and store expressed milk. Then use the stored breast milk once you begin taking the drug.
If you need to stop breastfeeding only temporarily, use a double electric breast pump to keep up your milk supply until you're able to breastfeed again. Throw away the milk you pump while you're taking the medication.
If you're not sure if a medication is safe while breastfeeding, pump, label and store expressed breast milk until you check with your health care provider. If you need to stop breastfeeding permanently — which is unusual — ask your health care provider about weaning and to help you choose an infant formula.