Erythromycin Ophthalmic, which belongs to a class of medications called macrolide antibiotics, is used to treat bacterial eye infections by stopping the growth of the bacteria that cause them. However, it will not work for other types of eye infections. It is worth noting that this medication comes as an ointment to apply to the eyes. Plus, it is usually applied up to six times a day for eye infections. Bear in mind that Erythromycin Ophthalmic is not expected to harm an unborn baby. However, you need to tell your doctor if you are pregnant or plan to become pregnant during treatment. Besides, it is not known whether this medication passes into breast milk or if it could harm a nursing baby. So, do not use it without telling your doctor if you are breast-feeding a baby. You should also consult your doctor if you experience any of the following side effects: redness, itching, stinging or burning of the eye.