It is used to treat cases of gastroesophageal reflux disease (GERD). Stomach ulcers, whether caused by excessive use of non-steroidal anti-inflammatory drugs or by bacteria. Duodenal ulcers. Part of the treatment of H. pylori. Cases of acidity and inflammation of the stomach and colon.