Ophthalmic erythromycin comes as an ointment to apply to the eyes. It is usually applied up to six times a day for eye infections. Ophthalmic erythromycin is usually applied one time in the hospital soon after delivery to prevent eye infections in newborn babies.