Thank you for your query at DoctorSpring.com.
I am Dr.R.K and I am pleased to assist you.
Acute pancreatitis has a rapid onset of action, but it does not subside within minutes. It causes continuous severe pain that lasts for hours.
You probably have acid peptic disease.
A serum Amylase / Lipase test along with an USG (Ultrasonography) / CT scan of the abdomen would should whether you have pancreatitis or not
An upper GI endoscopy may be done to see whether an ulcer / acid peptic disease is the cause for your pain.
You can take the OTC Prilosec, at least half an hour before breakfast, for a week. If the pain is due to acid peptic disease, you would get relief.
I hope that answers your question.
Let me know if I can assist you further.