Achalasia can sometimes be treated with medication that helps the lower esophageal sphincter relax. If medication is ineffective, however, esophageal dilatation can correct the problem. To open the esophagus, a balloon dilator is passed through the mouth down to the level of the lower esophageal sphincter, using an endoscope. The balloon is inflated, thus stretching the sphincter.