Pantoprazole is used for short-term treatment of erosion and ulceration of the oesphagus caused by gastroesophageal reflux disease.