Erythromycin can be used for the treatment of pneumonias. It is the drug of choice for a Legionella pneumonia and a good alternative to tetracyclines for chlamydial infections and mycoplasmas. Pneumococcal pneumonias normally also respond well to erythromycin; Haemophilus influenzae, on the other hand, is often resistant.