Your doctor may prescribe an antibiotic, usually given topically as eye drops or ointment, for bacterial conjunctivitis. Antibiotics may help shorten the length of infection, reduce complications, and reduce the spread to others. Antibiotics may be necessary in the following cases: With discharge (pus)