Flashing lights in the rearview? Be cool. You've got this.
Here's what to do, according to Men's Health Magazine
Start off right
Pull over as soon as you see the officer's lights. Turn on your interior light if it is dark out, and have your license and insurance card ready. This will put him in a good mood.
Do not hem and haw
Officers are lied to so often that it is refreshing when someone just fesses up. Acknowledge where you erred and promise you will be safer. Throw in an apology as well.
Cop a plea
Now that you have proved your sincerity, ask for a break: "I earned that citation, but would you mind issuing me a warning instead? It will not happen again." Being direct may work.
Win in court
If you do get a ticket, consider lawyering up. A good attorney can turn a 6-point "30 mph over" ticket into a 4-point "unsafe lane change" ticket and you will not have to go to court.