Lexus - Audio not coming on immediately

I have a 2002 Lexus ES330 and in the recent past, the audio is not working when I switch on the radio or the CD player. It takes a while and starts suddenly and sometimes, stops in between. Can anyone help to resolve this problem?

Thx in advance.

It is 2005 Lexus. Sorry for the typo.

Loose wire?