What happened to me? Should I reach out to a doctor?

I was shaving shirtless and all of a sudden I felt the need to stretch my back, so I did. But while I was stretching I saw a blood vessel burst on the side of my abdomen, below the ribs. It was a relatively short, thin line, a little thicker than a hair strand, nothing serious. But immediately as I saw it I started panicking, and in the next 2 minutes or so, I started feeling shivers and then I started breathing uncontrollably. I was totally aware that my reactions were irrational, but I couldn't control them. After I stopped breathing heavily, I felt nauseous and I felt like I was going to faint. This never happened to me before. Was this a panic attack? Should I be worried that this happened? Should I go check a doctor? I am fine now, I just feel a little pressure in my head, but I am scared of what just happened.
What happened to me? Should I reach out to a doctor?
Post Opinion