Erythromycin is an antibiotic. Its widely used to treat chest infections, such as pneumonia, skin problems, such as acne and rosacea, dental abscesses, and sexually transmitted infections. Erythromycin is used in children, often to treat ear infections or chest infections.