Gastritis is a general term for a group of conditions with one thing in common: inflammation of the lining of the stomach. The inflammation of gastritis is most often the result of infection with the same bacterium that causes most stomach ulcers. Regular use of certain pain relievers and drinking too much alcohol also can contribute to gastritis.
Gastritis may occur suddenly (acute gastritis), or appear slowly over time (chronic gastritis). In some cases, gastritis can lead to ulcers and an increased risk of stomach cancer. For most people, however, gastritis isn't serious and improves quickly with treatment.