Treatment for acute pancreatitis If the attack is prolonged, you may be fed and hydrated intravenously (through a vein). You'll probably need to stay in the hospital, where your treatment may include: Antibiotics if your pancreas is infected. Intravenous (IV) fluids, given through a needle.