What to do when things don’t go to plan

I was going to post a video, though for some reason it did not want to load.
I will look at why that particular video does not want to load.
So now, I believe today’s question to you, is what do you do when things do not go to plan?
Do you rant and rave, get angry and give up? Or do you look for the other possible reason?
As we live in an abundant universe, there could be an infinite number of possibilities as to why this plan did not come to fruition.
For some reason I am reminded of Monty Pythons song from The Life of Brian movie….
Always Look on the Bright Side of Life.
Are you doing that? Or are you making it all a lot harder than it needs to be?