Helicobacter pylori (H. pylori) is a common bacteria. It is a cause of ulcers (sores). It weakens the mucus layer that coats the inside of the stomach and first part of the small intestine. Stomach acid can flow through the weakened layer and burn the tissue of the stomach wall.