The phrase "to keep the sun out of one's eyes" means to shield or protect your eyes from the bright light of the sun. This can be done by wearing a hat or sunglasses, or by simply tilting your head downward to block the sun's glare. The phrase is often used in a figurative sense to mean avoiding or ignoring something that is bothering you, such as a problem or responsibility.