Tube Feeding With a Pump This information will help teach you how to use a pump to feed yourself and take your medications through your percutaneous endoscopic gastrostomy (PEG), gastrostomy (G), or nasogastric (NG) tube. A feeding tube will be used to give you nutrients while you cannot eat, swallow safely, or maintain your weight.