Well first log on to the Department of Real Estate for the State of California. Their website will have accredited classes as well as the details of what is required in order to get your license. There are private schools, as well as Jr. Colleges who provide classroom courses. There is a lot to learn, but if you apply yourself you will be able to do it.
Getting your license is only the first step in working in the industry. After that you will need a very good company to work with who provides worthwhile training and mentoring for new agents. In my opinion, this is the number one, most important aspect. Without proper training, many new agents leave this business in the first year.
However, my Manufactured Home Dealers license, RE salespersons license and RE brokers license were all studied for in an online setting. It really depends on the company offering the training. I found Allied to be about the best because they offer online, DVD and one on one telephone consultation whenever you need it.
Just don't forget to contact Laura King if you do decide to go with Allied. You won't be sorry.