Infection with Heliobacter Pylori (H. pylori) is a common cause of stomach ulcers. In these, damage occurs to the protective lining of the stomach, leading to gastritis (inflammation of the stomach) and symptoms such as indigestion and heartburn.