Some time things seem to go wrong or not our way. This can be especially hard for me because I fixate on what went wrong and what I did wrong. One of my core values is Impermanence. It's not my core value because I've mastered it. I'm by no means free of clinging desperately to the things I can change and the things that have changed. It's my value, because I want to value it. I'm intentionally trying to improve my reaction to the thing out is my control.
The first step to work towards Impermanence when things go wrong is simply acceptance. I have to step back, reconzie that this is the path I'm walking down now. If I try to fight it, I'll just prolong the suffering. Once you accept the path, then you can start to adapt.