You should check the wires where the headlights are. They might be corroded where the battery is. My fan kept doing the same thing. I took off the battery and noticed that the fan wires were being crushed and corroded by the battery being on top ov them. I had to replace the wires. Make sure that isn't happening to you.