I'm so sorry this happened to you. I have had very bad panic like that, but usually do not even have presence of mind to go to hospital or anything. I am glad that you were at least able to go there and find out it was nothing physical, nothing serious that would cause you more problems.
Did they give you any medicines for panic? I have been on some of those, and they can help some if you get the right one.
I am glad that you realize you want to make through all this. You deserve much better.
Avatar photo in memory of my younger brother Makar.
"Human salvation lies in the hands of the creatively maladjusted."~~~Martin Luther King Jr., 1963