If driving in fog, a driver should turn on the high beam headlights to increase their field of vision.

While it is not advisable to drive in fog, if you must drive in foggy conditions, you should drive with the headlights set on dim or use fog lights.
DMV Writen Test