To avoid being blinded by the lights of oncoming vehicles, avert your eyes and focus instead on the right-hand edge of the road to spot potential hazards/risks and pedestrians.
Keep in mind that you must be able to stop within the distance which you can see to be clear and before reaching any foreseeable obstruction.