A 47-year-old man presents with severe epigastric pain radiating to the back, vomiting and raised serum amylase. Ultrasound shows gallstones. He is haemodynamically stable but in significant pain. What is the mainstay of initial management of his acute pancreatitis?