Anti-inflammatory medications are used to relieve discomfort and redness of the mouth and gums. They are available by prescription only and are available as pastes under some brand names such as Kenalog and Orabase. There are also non-prescription anti-inflammatory medications, such as Motrin, which may be used to relieve pain and are available over-the-counter.