Treatment of acute pancreatitis