I recently started getting really severe chest pains out of nowhere, I have no history of heart problems or anything like that, I’m a 17 year old female and I’m not that unhealthy.
The pain is very severe id say the same level of pain as a foot cramp but it’s located next to my heart in the centre of my chest. It starts randomly and lasts about 10 seconds and then stops for around 30 seconds and then repeats over and over for around 5 minutes. 
The pain is debilitating and all I can do is stay in bed, but as soon as it goes I’m able to carry on my day as normal.

I thought it was entirely physical but I have had heart pain from anxiety before and chronic shortness of breath. Also it only happens when I’m alone in my room on my bed and and never in public or when I’m concentrating on something (distracted)