Neck pain and panic attack?

Hi! A few hours ago I experienced something that I think was a panic attack. It all started with a sudden, relatively intense throbbing pain in my neck right above my left collarbone. From the beginning, I tried to stay calm and figure out why I felt pain there. No matter how hard I tried, the thoughts of having a heart attack simply engulfed me and I got into a state where I was just shaking and panicking. This condition lasted about 2-3 hours (even though the pain disappeared about 30 minutes after it started) and then I fell asleep from exhaustion. Other symptoms were burning sensation in my legs, heart palpitations, nausea and about 2 times I felt the pain run down the inside of my left hand from the chest to the elbow where it then disappeared. It was fast, it happened about 2 times, but at the moment I was convinced that was enough to think I had a heart attack. I'm kinda new to all of this, so if there is someone who experienced something like this, please let me know.