And make sure you get a decent lawyer, not a flake. The last time I got in trouble, I hired a lawyer that flaked out on a court appearance. Court sent him notice that for failure to appear they were going to suspend my license. Imagine my surprise 4 years later down the road, I got pulled over for expired tags and get charged with 3rd degree AUO. And then, I go to court, and find out from other people that the judge and my ex lawyer were drinking pals. So, needless to say, trying to explain how my lawyer flaked out, even with paperwork documenting everything, I still got bent over.
The judge in my original speeding ticket case was more help in 10 minutes of court time, than my lawyer I paid through the nose for was.
My point is, make sure its not just some new schmo representing you. Make sure hes had some previous clients, oh, and that hes not drinking buddies with the DA or judge in your case!! A judge doesnt care if your lawyer stinks, you hired him, so if he screws up somehow, you are still gonna be in deep water, and a judge wont cut you slack.