The PEG procedure is usually performed under general anesthesia. An endoscope is passed through the mouth into the stomach to visualize the placement of the tube. A small incision is made in the abdominal wall, and the tube is inserted through this incision into the stomach. The tube is then secured in place.