Uses: This medication is used to relieve eye pain, burning, and stinging following a certain type of corrective eye surgery (corneal refractive surgery). Ketorolac belongs to a class of drugs known as nonsteroidal anti-inflammatory drugs (NSAIDs). It works by blocking certain natural substances in your body to reduce pain and swelling.