It depends. Some medicines used to treat anxiety can pass through breast milk. Certain antidepressants, such as some SSRIs, are safe to take during breastfeeding.
Do not stop taking your medicine too quickly. Talk to your doctor to find out what medicine is best for you and your baby. Learn more about medicines and breastfeeding in our Breastfeeding section. You can also enter your medicine into the LactMed® database to find out if your medicine passes through your breastmilk and any possible side effects for your nursing baby.