I know for years, I sure have had flare ups. I can be fine for months and months, then find myself on a board like this at 5 am! I know it's very difficult, but I try to tell myself that I lived through it before - and will again. It's hard to calm down in the moment, but sometimes realizing it's true - that I will be fine - helps. I have learned over the years that it IS panic, I'm not going to die, and I ride it out. Years ago, I never would believe I'd be able to do that! It's an awful experience to have (panic), but it does teach you that YOU WILL BE OK.
I hope that is somewhat helpful? I wish you good luck. Be good to yourself.