I've always been a worrier/overthinker, but the last few years it's turned into a more debilitating anxiety. Since I started my current job at the end of 2019 I've been having on and off issues sleeping, and I tend to get the most anxious right before bed. I am used to feeling my heart beating fast right before bed and learnt some breathing exercises to help, which normally do. It's weird because last night I didn't even feel that worried about my sleep. But as I was lying in bed with my boyfriend trying to relax, I suddenly realised that I couldn't move, my fingers were tingly, I could feel my heart pounding really fast, faster than usual. Then my vision started going as if I was about to faint, I started seeing stars, and my stomach was cramping on and off. It was such a bizarre feeling, I was wide awake but didn't feel like I was really there. My boyfriend tried talking to me and I couldn't respond other than basically grunting. After about 10/15 mins I was able to turn over and put my hand on my chest to focus on my breathing. Then he asked me how I was and if my chest hurt and I just burst into tears. It was horrible, and I'm worried about it happening again.

Does this sound like a panic attack? I've never had one before so am not 100% sure. If so, what should I do to avoid it happening again?

Thanks!