Can I be on antibiotics the same time my nursing baby is?

Or would that be too much antibiotics?

My 12 month old still nurses. He’s on amoxicillin for an ear infection.

I just got diagnosed with mastitis and was put on Augmentin (Amoxicillin)

Do I need to wean him? Pump and dump until we’re off the amoxi? Give him formula? Please advise 🥴 His pedi office is closed