Protecting my MOSFET
For auto stuff you need TVS diodes pretty much on every input and output.







simulate this circuit &ndash; Schematic created using CircuitLab

I'd also add D1 to protect you from kickback in the lines to the lamps.