When something happens and you realize, “Crap! this is gonna screw things up”, just accept it and move on to the next step. It is what it is. If it's something that's not in your hands—if it’s something that you can’t control—then let it go. You can’t control it.
Be confident that things will turn out OK. You'll live. The day will go on. The sun will rise again. People will die. People will be born. People will make money. People will lose money. People will find jobs. People will lose jobs.
Go and stare at the ‘deaths today’ meter for a few minutes (hopefully you won’t last that long). Try to picture each of those deaths. Yours will be one of those numbers someday. And then the next number will come and whoever is watching that clock will forget about your number.
The world is not going to change or stop or end because of this little thing that happened to you. Relax. Don’t sweat the little things. Take a deep breath and move on.