Treating the underlying cause of gastritis is the most effective way to reduce or resolve gastritis. For example, if the cause of gastritis is Helicobacter pylori, then treatment with appropriate antibiotics (usually a combination of amoxicillin and clarithromycin [Biaxin, Biaxin XL] plus bismuth subsalicylate [Pepto-Bismol]) should be effective.
If NSAIDs are the cause, then stopping the drug should be effective. However, other treatments are often used in addition to those that treat the specific cause. These treatments may reduce or stop symptoms of gastritis and allow gastric mucosal healing to begin regardless of the underlying cause. These medications include antacids (Maalox , Rolaids, and Alka-Seltzer), histamine (H2) blockers (famotidine [Pepcid AC], ranitidine [Zantac 75]) and PPI's or proton pump inhibitors (omeprazole [Prilosec], pantoprazole [Protonix], esomeprazole [Nexium]). They all function by different mechanisms to reduce acid in the stomach but usually do not treat the underlying cause of gastritis.