If it has recently been wired in it has probibly not been wired in correctly. There are normally two power points for a car radio, one constant and another that works only when the ignition is on. By...
The car battery.
Same as the lights, cigarette lighter, windshield wipers, power windows, power seats, and the heater (for a little while), when the engine is off.