You may have been driving around with only one low beam working, and didn't know. First thing I'd try is a known good headlight and see what happens. If it doesn't work, then it *may* be a headlight switch, probably best to see a mechanic and tell him what happened.