There is a lot of vital information which is missing in your account of the problem that you have stated. Firstly reasons of chest pain
vary with age. There could be many reasons for your chest pain, gastritis
and acid reflux
being the most common. These problems can be easily controlled with the use of ant acids, PPIs and following a strict diet with no spice or oily food for a few weeks. Exercise will also help. The other reason for such a complain could be esophageal spasm which also causes similar pain at night. If you are an old aged person, then other cardio vascular causes of chest pain can also be present.
Hope I am able to solve your concerns.
Have a nice day!