Treatment

Treating Gastritis

Choose a preferred language


Your doctor will work with you to find the cause of your symptoms. This may include a review of your health history, a physical exam, and some tests. Treatment depends on what's causing the gastritis. It may include taking certain medicines and making some lifestyle changes. Follow your doctor's advice.


Taking medicines

Your doctor may prescribe medicines to neutralize or reduce extra stomach acids. These may include antacids, H2 blockers, and proton pump inhibitors. Sometimes a medicine such as sucralfate is used to help the stomach's protective lining. If tests show that H. pylori bacteria are in your stomach lining, you may get antibiotics even if you don't have symptoms. H. pylori can cause gastritis. If gastritis has caused low vitamin levels, you may need to take supplements.


Staying away from certain things

Be sure to stay away from:

  • Aspirin and ibuprofen. Don't take aspirin, ibuprofen, or other NSAIDs (nonsteroidal anti-inflammatory drugs). They can irritate your stomach lining. Also check with your doctor before taking or stopping any medicines.
  • Spicy foods and caffeine. These can make your symptoms worse. Stay away from foods made with spices, especially black pepper. Don't have coffee, tea, cola drinks, or chocolate. Tell your doctor about any other foods or liquids that bother your stomach.
  • Tobacco and alcohol. Don't use tobacco or drink alcohol. They can increase stomach acids and make your gastritis symptoms worse. They can make gastritis harder to heal.


Reducing your stress

Stress may make your symptoms worse. Whenever you can, reduce the stress in your life. One way to do this is by exercising. But talk to your doctor first. Also try to get enough sleep. Aim for at least 8 hours a night.

Online Medical Reviewer: Jen Lehrer MD

Online Medical Reviewer: Raymond Kent Turley BSN MSN RN

Online Medical Reviewer: Rita Sather RN

Date Last Reviewed: 06/01/2025

© 2000-2026 The StayWell Company, LLC. All rights reserved. This information is not intended as a substitute for professional medical care. Always follow your healthcare professional's instructions.

Your family’s health is our priority.

From routine checkups to specialized pediatric care, our family of doctors is here for yours.

Find a Doctor
Related Articles
Read article
Digestive Health
Gastritis or Ulcer, No Antibiotic Treatment

Gastritis is irritation and inflammation of the stomach lining. An ulcer is an open sore in the lining of the stomach. The causes and symptoms of gastritis and ulcers are very similar.

Read article
Digestive Health
Understanding Gastritis

Gastritis is a painful inflammation of the stomach lining. Learn more about the causes and how to ease your symptoms.

Read article
Digestive Health
Medicines for GERD

Learn about the different types of medicines that can be used to treat GERD (gastroesophageal reflux disease).

Read article
Digestive Health
Understanding H. pylori and Ulcers

Traditionally, ulcers were thought to be caused by too much spicy food, stress, or anxiety. We now know that most ulcers are likely due to infection with bacteria known as Helicobacter pylori (H. pylori).