A big part of it is always being alert and watching out for those who might make stupid moves like this. If I'm riding along and see a car trying to pull out from the right, or in the center lane oncoming trying to turn left, I pay CLOSE attention to them as I get closer to make sure they don't try to pull out in front of me, or so I can get on the brakes quick if need be.