Pantoprazole is a prescription medication used to treat heartburn, erosive esophagitis, and related symptoms of gastroesophageal reflux disease. Sold under the brand name Protonix.