Can you safely exercise while taking antibiotics for an infection?

Can you safely exercise while taking antibiotics for an infection?