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.
Compression of the L5 nerve will also cause numbness, paresthesias (pins and needles) and pain in the L5 distribution. This is buttocks pain that radiates down behind the thigh to the back of the calf and then to the top of the foot. The big toe might be numb along with the inside of the foot.