If you want to toggle your headlights into high and low beams, you can usually do it by using the dimmer switch. So the dimmer switch going bad is the most common reason why you can’t switch between these two modes.