Ophthalmic anti-infectives are eye medications formulated with anti-infectives that can either kill an infectious agent or inhibit it from spreading. Anti-infectives include medications in eyedrops, gels or ointment form.