Avoidance of certain foods, beverages, or medicines may also be recommended. Following a diet recommended for peptic ulcer sufferers may help. For recommended foods, and foods to avoid, you can follow these foods lists.
If your gastritis is caused by an infection, that problem may be treated as well. For example, the doctor might prescribe antibiotics to clear up H. pylori infection. Once the underlying problem disappears, the gastritis usually does too. Talk to your doctor before stopping any medicine or starting any gastritis treatment on your own.