Ulcers of the stomach and duodenum. Treatment of Helicobacter pylori infection. Stomach ulcer protection while using NSAIDs. GERD. Esophagitis. Dyspepsia associated with increased stomach acids. Zollinger-Ellison syndrome, a tumor of the pancreas or duodenum.