There is usually a problem with the wiring when a car stereo only works occasionally. It is also possible to have a problem with your amplifier, an internal fault in your head unit, or even a problem with your speakers or speaker wires, depending on how the stereo is not working.