Ofloxacin is an antibiotic used to treat bacterial infections of the eye, such as conjunctivitis and corneal ulcers. Ofloxacin is available only with your doctor's prescription.This medication is a fluoroquinolone antibiotic, prescribed for certain types of bacterial infections such as chronic bronchitis, pneumonia, skin and skin structure infections, and others. It fights bacteria in the body.