Pantoprazoleis usedto treat certain conditions in which there is too much acid in the stomach. It is used to treat erosive esophagitis or"heartburn" caused by gastroesophageal reflux disease (GERD), acondition where the acid in the stomach washes back up into the oesophagus.