Relax, dude, you're in Cali and Jerry "moonbeam" Brown is in charge.
You're innocent until PROVEN, or you foolishly plead guilty.
Appear when and where directed.
Plead NOT guilty, hire a lawyer or beg the court for a public defender.
Stay out of MORE trouble, leave that DAMN weed alone, it ain't as legal as most sheeple are led to believe.
Wait patiently, the longer the wait, the better outcome for YOU.
Speak ONLY to your lawyer.
Even if convicted, unless you do more silly, crazy crap; you'll never do a day in jail or prison.
You'll probably get probation and community service, if you're convicted.
Of course, the court and the state will want money, lots of money.
How much?
North, well north of $2,500; but ask that great lawyer you're gonna hire or get the taxpayers to fund.
He or he will know so much more than some dude on the 'net, dude.