always, always stay silent and get a lawyer. most of your charges will be instantly dropped and it will never go to court.
had police find some shit in my apartment while i was at work, which my room mates blamed on me. cop gave them a message to deliver to me which was basically 'call us as soon as you get this. if you work for us we'll drop your charges.'
didn't call them, got a lawyer to call them instead - charges instantly dropped and never heard another word for them. didn't even have to pay the lawyer because he didn't have to do anything.
but yeah, you get a lawyer cops will assume you're upper class and usually drop all charges that aren't 100% air tight.