Panic, proceeds action. Denial proceeds death.
Panic is your body giving a kick in the pants to your brain. Yes, logic comes next. and reason. But denial is a much more negative and useless response than panic.
The psychology is subtle, but worth using