This medication is used to treat certain eye conditions due to inflammation or injury. Dexamethasone works by relieving symptoms such as swelling, redness, and itching. It belongs to a class of drugs known as corticosteroids.This medication may also be used to treat swelling, redness, and itching of the outer ear due to inflammatory conditions.