Identifying anxiety as the cause of your chest pain is an important step in treating your condition. As you learn to manage the side effects of anxiety, you’ll also learn to manage unintended complications like chest pain.
https://www.healthline.com/health/anxiety/anxiety-chest-pain#outlook