Can I take antibiotics and pain meds for mastitis?

Of course. Yes, you should take antibiotics to clear up documented case of mastitis. You can also take pain medication to help while you are recovering.