Absolutely agree with the above - you’ll never sort panic with planning - they’re two completely different processes. Planning is a cognitive, rational process and panic is a somatic, emotional one. You need to bring yourself from your heart back to your head. So, grounding exercises, breathing...