question: Gastritis (Treatment): Treatment of gastritis depends on the specific cause. Acute gastritis caused by nonsteroidal anti-inflammatory drugs or alcohol may be relieved by stopping use of those substances. Medications used to treat gastritis include: - Antibiotic medications to kill H. pylori. For H. pylori in your digestive tract, your doctor may recommend a combination of antibiotics, such as clarithromycin (Biaxin) and amoxicillin (Amoxil, Augmentin, others) or metronidazole (Flagyl), to kill the bacterium. Be sure to take the full antibiotic prescription, usually for seven to 14 days. - Medications that block acid production and promote healing. Proton pump inhibitors reduce acid by blocking the action of the parts of cells that produce acid. These drugs include the prescription and over-the-counter medications omeprazole (Prilosec), lansoprazole (Prevacid), rabeprazole (Aciphex), esomeprazole (Nexium), dexlansoprazole (Dexilant) and pantoprazole (Protonix). Long-term use of proton pump inhibitors, particularly at high doses, may increase your risk of hip, wrist and spine fractures. Ask your doctor whether a calcium supplement may reduce this risk. - Medications to reduce acid production. Acid blockers - also called histamine (H-2) blockers - reduce the amount of acid released into your digestive tract, which relieves gastritis pain and encourages healing. Available by prescription or over-the-counter, acid blockers include ranitidine (Zantac), famotidine (Pepcid), cimetidine (Tagamet HB) and nizatidine (Axid AR). - Antacids that neutralize stomach acid. Your doctor may include an antacid in your drug regimen. Antacids neutralize existing stomach acid and can provide rapid pain relief. Side effects can include constipation or diarrhea, depending on the main ingredients.