lights went out?!?

I dont know what car or equipment you have. The mechanical voltage regulators would do that. Blow every bulb in the car except the headlights.
A melt down at the bulkhead connector could do it too depending on which wires were melted together. Good luck