A hood will help tremendously, also, just being more conscious of where you point your camera will make the biggest difference. In all your examples, the sun is obviously very near to your frame, and thus, unavoidable flare, probably even with a good hood.