If this is simply a ticket and not an arrest, you may not qualify for a court appointed attorney.  If you hire a traffic attorney, make sure you are prepared for presentation of evidence.  If you committed the violation, you should research to see if alternative convictions are available for you, like community service.