Antibiotics

I'm calling the doctor in the morning but I have mastitis and my baby has an ear infection. It is ok to still breastfeed with both of us on antibiotics?