While driving at night, a vehicle coming toward you has its high beams on, making it hard for you to see the road ahead. You should:

If an oncoming driver fails to dim their high beams, you should avoid looking directly at the headlights. Instead, look toward the right edge of your lane and watch the oncoming vehicle out of the corner of your eye.
DMV Writen Test