The insertion of a gastrostomy tube is typically performed under general anesthesia. The procedure can be done using endoscopic techniques (PEG) or surgically. Post-procedure, the tube site requires careful monitoring to prevent complications such as infection or tube dislodgment.