Treatment of Peptic Ulcer Disease Eradication of H pylori (when present) Acid-suppressive medications Treatment of gastric and duodenal ulcers requires eradication of H pylori when present (see also the American College of Gastroenterology's 2017 guidelines for the treatment of Helicobacter pylori infection) and a reduction of gastric acidity.