Hi Lauren, it depends on the make of the radio but if you leave it switched on for 12~24hrs without touching any buttons some radios will then allow you to enter the code others you will need to disconnect the battery for a similar time then you can enter the code, but if you disconnect the battery the car will not drive normally for the first 20~30 miles while the engine ECU re-learns the engine settings
nigel
May 2008