You are being treated for heartburn or hiatal hernia, and you feel sudden chest or stomach pain, have difficulty swallowing, are vomiting, or are unable to have a bowel movement or pass gas; you may have a hernia that has become obstructed or strangulated, which are emergencies.
One strong possibility for your symptom is gall bladder stones and cholesterol deposits within the gall bladder which can cause sharp pain. Getting an ultrasound of the upper abdomen done in a walk in clinic or the ER will confirm the diagnosis.
Gallstones can lead to pain in the upper right abdomen. You may start to have gallbladder pain from time to time when you eat foods that are high in fat, such as fried foods. The pain doesnât usually last more than a few hours. You may also experience: nausea; vomiting; dark urine; clay-colored stools; stomach pain; burping; diarrhea; indigestion