Sometimes due to problems in digestion there is a generation of gas inside the stomach that may be the cause of headache or a form of chest pain. And that is not a serious issue.
However, you must get your blood pressure checked to rule out any threats of issues. Smoking must be avoided and I will be glad if you are a non smoker.
Make changes to your lifestyle by choosing the right foods that suit your digestion, with proper sleep on time and most importantly exercise on a regular basis.
Make a fine powder of the following seeds in equal quantity and take one sixth of a teaspoon with water daily after meals
Fennel seeds and cardamom seeds
Moreover you may also try the another recipe:
Grind fennel, ginger and cloves into a fine powder and add some honey to make a thick paste. Preserve in a glass jar. Take them in equal quantities.
Take one teaspoon fifteen minutes after each meal and at bed time.
Let me know If it helps. So that I may share a few more recipes. Take care. God bless!
It sounds like you have GERD, or a hiatal hernia. I recommend you see a gastroenterologist and discuss these issues with him/her.