You won't be able to help anyone if yourself start panicking, and it's normal and not your fault, it's a very stressful situation.
Usually, I start to be sorry about everything when I panic. About my thoughts, about who I am, about what I do (feeling like everything wrong in the world is my fault).
It's hard to remember good moments when in panic.
Support the person, tell the person it's ok, that it not their fault, that they don't have to be sorry / that it's all ok, ...
Sometimes you will have to say it multiple time. It's not because nothing seems to change, that the person is still in panic, that you're not helping. Really.