Plan, plan, and plan more. Research, research and research more. The crazy stuff you do as a photographer (or just someone with OCD). Make your list, Google the weather, check your settings, grab the correct lens, take your backup bodies and wonder if you packed enough batteries!
These things and more are ALWAYS on my mind before a shoot. However (in my opinion) the majority of my great shots have been made with the worse of luck. A lot! No I didn't say ALL.
I think life should be taken like this as well. Are mistakes really mistakes? When a stupid cloud comes from nowhere and "rains on your parade" how do you handle it? Or if you drive hours to a remote location and a freak wind storm pops up, you waste hrs and turn around pissed to just go home? What happens when the road you Googled just doesn't exist anymore? Google Maps can't be wrong! Yes, all and more have happened to me. My temper explodes, I shake, get cotton mouth, I wanna give my clients their money back and cry!
You have to learn...teach yourself to be calm. I know it's not human instinct to do. You have to get a different mind set. Ha, I know coming from me that is funny thing to say, but being aware is half the battle right? EVERYTHING happens for a reason. Quit, please STOP asking "why, why me?" You honestly don't need to know...is it gonna change what just happened? Sometimes, in these instances, it may just give you a great shot...