Can you safely drink alcohol while taking antibiotics for an infection?

Can you safely drink alcohol while taking antibiotics for an infection?