Panic, confusion and pessimism, these are the nightmares of a heart freely handed the reins to your mind.
Reverse the process. Hand your mind the reins to your heart.
Feed yourself with wholesome thoughts. With all your willpower, stay focused on those thoughts. Ignore the burning panic in your heart; refuse to allow it to distract you.
Soon enough, the black horse of pessimism gallops off into the night.