Pantoprazole belongs to a group of drugs known as proton pump inhibitors. They are sold under the brand name Protonix. Generic Protonix is used for treating ulcers, stomach and esophagus problems. This medication works by blocking the production of acid in the stomach. Available in the form of tablets, it also helps when a person has difficulty swallowing. It also provides relief from sunburn.