A 38-year-old man presents with severe epigastric pain radiating to the back, vomiting and fever. Serum lipase is markedly elevated. Ultrasound shows gallstones and no biliary duct dilatation. He is tachycardic but haemodynamically stable. What is the most appropriate initial management?