If you're arrested, simply remain calm, do as they ask. But, don't admit to anything or make any statements. Simply say, I wish to have a lawyer. I also will use my right to remain silent. Then only give your name, address, date of birth, and other harmless details.
If you check with a couple bonding agencies, they can tell you how much your bond will be, assuming you don't want to sit in jail. That way you can start getting your bail money together.
In Cali these days, if your record isn't too dirty, you'll likely get released on your signature (like a traffic citation).
Even if they convict you, you won't likely see prison, unless the money amount is LARGE.