2. Corticosteroids These medications, such as prednisone and dexamethasone, are powerful anti-inflammatory agents. They work by mimicking cortisol, a hormone that helps control inflammation in the body. While effective, corticosteroids carry a higher risk of side effects, especially with long-term use.