Your doctor will consider your current health status, symptoms, and other medications you take to prescribe the best antibiotic for your stye. Common antibiotics for eye infections include erythromycin, doxycycline, amoxicillin, and cephalosporin.