Thanks for all these additional details.
I am sorry to hear about your problem.
Well, Your symptoms are suggestive of acid reflux disease and gastritis.
It can cause pain in the middle of the chest.
You need to make some dietary changes along with medications. Avoid chocolate fatty foods, coffee, and alcoholic beverages. Avoid beans, cabbage, and carbonated beverages. If you are overweight, lose some weight.
You should avoid smoking( if you do)
You should always drink up to eight glasses of water a day.
You should remain away from stress and anxiety. Start practicing Yoga and meditation. Deep breathing exercises and relaxation techniques will be helpful.
You can elevate the head end of the bed by 8 inches.It would be helpful.
You should avoid these-
beans, broccoli, cauliflower, cabbage, sprouts, onions, and garlic.
You can eat lean meats, cold-water fish, tofu, beans, olive oil.
Also, you should eat meals at least 2 to 3 hours before bedtime.
Take Syp. Pepto-Bismol 2tsf thrice a day after meals.
You can take acid blockers like- Lansoprazole/Prilosec/Nexium
A healthy diet is very necessary to be free from such symptoms.
Usually with these tips, in 1-2 weeks, you will be free from symptoms.
Hope I have been able to clarify the situation for you and helped in resolving your query.
Please let me know if you have any additional questions or if you want to discuss this further.
Thank you for the opportunity to help and I wish you all the best.