Some foods may increase the risk of H. pylori infection, and certain dietary habits can trigger stomach lining erosion and lead to ulcers. A person with gastritis may find it difficult to eat ...