You should use the light horn if needed to avert a dangerous situation in the dark, for example, if you suspect a pedestrian has not seen your car and is heading out into the street.
You "use the light horn" by quickly flashing the full beam headlights on and off.