Your traffic court will determine your eligibility for California traffic school depending on the circumstances of your offense and your driving history. They will typically mail you a courtesy notice that will inform you whether or not you can take traffic school.
Along with your eligibility, the notice should include information about your deadline to complete the program.
Always verify with your court before enrolling in a traffic school course.