You need to leave the radio and the ignition switched on until the "WAIT" goes off or changes to "CODE", then enter the code.
If this is the first time "WAIT" has appeared then I it will be for about half an hour. If "WAIT" has appeared several times, it could be for up to 24 hours.