I rarely get tickets, and it's not for lack of trying.
When you get pulled over, pull over quickly. Engine off. Windows down. Keys on dash, hands on wheel. I don't reach for ANYTHING until he's at my window and I explain what I'm reaching for and then I do it SLOWLY. 9 out of 10 times, I get a warning.
For that 10th time, I get a lawyer. Because I have a good traffic attorney, my insurance company has no record of any ticket more recent than 1999.