Drive the speed limit.
Wear a seatbelt.
Obey traffic signs.
Keep vehicle registered.
Keep proof of insurance & license in vehicle.
Keep windows legally tinted.
....& you'll never get a ticket. While they no doubt give tickets to create revenue, it's still the fault of whoever is knowingly breaking the law.
But that's against my rights, dammit.
Uh... the right to...uh... nevermind.