To avoid being blinded by the glare of oncoming headlights:

Glancing back and forth between the right side of the road and the road directly ahead allows you to avoid the glare of oncoming headlights while still staying safely in your lane.
DMV Writen Test