Who would be my top priority a patient who has acute pancreatitis and needs his pain medication or a patient who has liver cirohissis(spelling) who got confused last night?

Also a gallbladder patient is in severe pain and has vomited some what do you correct first his pain or his fluid status?