When driving in fog, you should use your low beam headlights:

You should always use your low beam headlights when driving in fog. High beam headlights may cause the light to reflect off of the fog and into your eyes.
DMV Writen Test