L.S.
Hi,
My experience with such issues is you register for the defensive driving class. When you arrive, you will be asked for you citation info and the instructor will register it and you will pay the fee to take the class. After you attend to full session - usually 6-8 hours, it will be registered that you completed the class and your citation is dismissed and no points are logged against your license. Make sure you keep all records from the class confirming you completed it.
You do not need to attend the class and go to court. You do one or the other. If you attend the hearing, be prepared to defend the ticket or admit guilt, pay fine and court costs and points will be logged against your license.
The class is the best way to go since no points go against your license. This way, your insurance won't raise your rates of they find out.
Hope this helps.
L.