Right away! You'll have immediate access to the online course once you complete registration.
Just make sure you've done these two things first:
1. Paid any fines owed to the court
2. Received written permission from the court to attend a defensive driving course
Also, be sure to complete the course before the deadline your court gave you. Without court approval, your completion won't count for ticket dismissal.
