How do I get rid of vehicle voltage spikes maybe a choke and capacitor filter?
some thing like this, using the popular implementation of a filter ---- one series element and one shunt element







simulate this circuit &ndash; Schematic created using CircuitLab

We add the resistor to dampen. R == sqrt(  L / C).