If you have been cited for a moving violation (such as speeding, running a stop light or a stop sign, failing to obey traffic instructions, etc.) and you wish to attend a driving school to keep the violation off your driving record, you must appear in court on your assigned court date so that the Judge can determine if you are eligible for driving school.
The advantage of attending driving school is that upon successful completion of the school, once you have provided proof of satisfactory completion to the court clerk, the moving violation will be dismissed and will not result in points being added to your driving record.
If you are a commercial driver's license holder, under federal law you are not eligible to attend driving school.