According to the info I have, we have to attend a class.
There should be plenty of classes to get into. Most cost around $25 for ticket dismissal and $15 for insurance discount in Texas.
The TXDPS has an on-line version that takes about 8 hours. My neighbor's wife found out the hard way. He told her to just pay the ticket, but she insisted on the defensive driving.