An NG tube is usually inserted to decompress the stomach after surgery to prevent vomiting. It is typically left in place for 48-72 hours after surgery. The tube can also be used to assess and treat upper GI bleeding, collect gastric contents, perform lavage, and administer medications. Inserting an NG tube involves measuring tube length, lubricating the tube, inserting it into the nose while having the patient swallow, and ensuring proper placement in the stomach through aspiration or auscultation. Potential complications include esophagitis, gastric ulcers, electrolyte imbalances, and damage to nasal or gastric tissues.