The ophthalmologist may prescribe medications to control associated bacterial infections, or to relieve redness, swelling, or irritation. Cleansing routines must still be used even if medication has been prescribed.