During an upper endoscopy, your doctor will inflate a special balloon at the anastomosis. The opening will be stretched back to its original size, if possible. This is called endoscopic dilation. In some cases, you may need more surgery to fix problems related to the stenosis. You may also need to take proton pump inhibitor (PPI) medicine to reduce your stomach acid.