First Ticket - Anyone know a lawyer?

have u ever went to court without a lawyer? i never once had to explain why i did. they always drop them down. i confused the guy as to why i pled not guilty when it was for an illegal head light color and exhaust. he asked why i didn’t plead guilty, i said i figured maybe you could drop one, if not no big deal, he said sure pay for the exhaust. i have never used a lawyer and never not had tickets reduced.