Dismiss Modal

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.

Man putting pill in his mouth while holding glass of water.


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.

Sample card

Add a description.

Button label
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
Gastritis

Gastritis is inflammation of your stomach lining. Learn what can cause it, make it worse, and how to care for yourself.

Read article
Digestive Health
Gastritis

Gastritis is an inflammation of the lining of the stomach. It can have a number of causes, but most are lifestyle excesses—smoking, too much alcohol, too much caffeine, and overeating. This video explores the many causes of gastritis, recommended treatments, and preventive steps.

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.