Can you use erythromycin ointment for pink eye

Can you use erythromycin ointment for pink eye