All over-the-counter pain relievers are generally considered safe to take while on antibiotics. Still, it is recommended to speak with your doctor so they can look at your specific situation.