Pain that worsens when you lie down

It is typical to feel pain in your chest when you have heartburn. This pain is typically caused by acid reflux and tends to get worse when you bend over or lie down [5]. This is likely because bending and lying down increases the likelihood that the contents of the stomach will flow back through the esophageal sphincter.
Conclusion
You can’t prevent heartburn from happening altogether, but avoiding triggers and lifestyle changes can reduce the frequency. If you frequently have heartburn, you should see a doctor find out the underlying cause. You should see a doctor if you have difficulty swallowing before the damage to your throat becomes substantial.
References
[1] https://my.clevelandclinic.org/health/diseases/9617-heartburn-overview
[2] https://www.mayoclinic.org/diseases-conditions/heartburn/symptoms-causes/syc-20373223
[3] https://my.clevelandclinic.org/health/diseases/9617-heartburn-overview
[4] https://www.mayoclinic.org/diseases-conditions/heartburn/symptoms-causes/syc-20373223
[5] https://www.mayoclinic.org/diseases-conditions/heartburn/symptoms-causes/syc-20373223











