If an approaching driver is using their high beam headlights, you should:

If a vehicle is coming toward you while using its high beam headlights, glance away from the headlights and toward the right side of the road until the vehicle has passed. This will keep you from being blinded by the lights.
DMV Writen Test Logo