Wearing a Helmet in California?

I live in Southern California, and i want to know if the law requires that you wear a helmet or not because it is really hot right now and its unbearable? If there is no bike lane can i still go on the street or can i go on the sidewalk?
5 answers 5