Helicobacter pylori (H. pylori) is a common bacteria. It is a cause of ulcers (sores). It weakens the mucous layer that coats the inside of the stomach and duodenum (first part of the small intestine). This allows stomach acid to flow through the weakened layer and burn the tissue of the stomach wall below.