You will be mentally prepared for new situations and be able to control yourself. Panic doesn’t add anything constructive.
Every time you start to panic, remind yourself that you can control your emotions.
You can prepare some affirmations for you to repeat in the difficult moments like:
“I am in control, not my emotions.”
“I am not going to die from this. It is only an obstacle to overcome. Get back to work.”
“Don’t freak out about this. Calm down and look for a solution.”