Did you get arrested or just cited. Possession of an ounce or less is an infraction punishable by a $100 fine. Unless you've left out some details this is the worst you should get.
I took the liberty of tagging this as a criminal defense question. You will get a better response that way. Good luck.
Law Offices of Linh T. Nguyen 916.509.7200 Disclaimer: This reply is not intended to be and does not constitute legal advice or the establishment of an attorney-client relationship. I always recommend consulting with an attorney, especially since many attorneys offer free, no-obligation consultations.