Untreated helicobacter pylori infection can cause damaging changes in the gut microbiota leading to ulcerative conditions like peptic ulcer disease and atrophic gastritis. The impact of helicobacter pylori infection also significantly increases the risk of stomach cancer.