Gastritis can be painful and cause gastrointestinal dysfunction. An inflammation of the lining of the stomach, it may be the result of a number of different causes, including bacterial overgrowth, excessive alcohol consumption, a poor diet or the long-term use of certain medications. Dietary and lifestyle changes can significantly reduce inflammation and relieve the discomfort associated with gastritis.