During a panic attack, a small part of you is very loud. This part may make you feel that your life is in danger. Your logical mind may not work well during such a time. So it can be helpful to have a story to hold on to. That way you can allow part of you to go through the panic attack while another part of you remembers that you are actually safe.
It may be a bit like being in a dream and then realizing that you are dreaming; you may continue to dream, but you know that it is not real.
Examples that might help you
Try experimenting with different metaphors to find one that makes you feel safe during a panic attack. Then practice it whenever you feel overwhelmed by fear or anxiety. The more you use it, the better it will work because your brain will begin to learn that not everything you experience is real.