mastitis?

Can you take pepto while breastfeeding for nausea? I suddenly have flu like symptoms and pain while feeding my lo from my left breast.