The best medicine for a corneal ulcer depends on its cause. Bacterial ulcers typically require antibiotic eye drops, while fungal ulcers are treated with antifungal medications. Viral or parasitic ulcers have specific treatments tailored to those pathogens. In addition to medications, it's sometimes necessary to address underlying conditions, like dry eye. Regular follow-up with an optometrist ensures appropriate treatment and monitoring for complications.