We adapt to difficult situations due to the function of sympathetic and parasympathetic systems.
When we face a new or challenging situation, sympathetic nervous system(fight or flight) comes into play. While the sympathetic nervous system is in action, parasympathetic system starts balancing it. It helps the person to adapt and prevents the freezing effect of the sympathetic nervous system.