“How ridiculous and how strange to be surprised at anything which happens in life.” -Marcus Aurelius
To prevent further unpleasant surprises, take this attitude: "Everything is going to happen." Until, of course, the moment arrives and, out of all the things that are going to happen, one of them sticks. And you won't be surprised or unprepared, because you saw it coming. All of it.
I always prepare for the worst. When that doesn't happen, I'm relieved and have a few extra dollars in the bank to spend on a cruise or trip somewhere fun. If the worst happens, at least I was prepared.