It seems instinctive to me, but here goes anyhow. This applies to all people: red, yellow, black or white.
1 Know that the cop who pulls you over has the option of (a) writing you a ticket, (b) letting you off with a written warning, (c) letting you off with a verbal warning, (d) arresting you in the event you have an outstanding warrant, are under the influence, or have something unlawful clearly visible in your car, or (e) making your life miserable for a few hours or days after you start acting like a butthole JUST BECAUSE HE CAN. Which option he chooses often depends on you. Unless of course he is being pressured from above to write more tickets or is just the gung-ho type, you are most likely to get a ticket. Most cops, I find, are decent people and might even be open to letting you go on your way if you behave respectfully and have a good story.
2 When pulled over, (a) stay in your car and don't be moving around like you are trying to hide something, (b) if it is night time turn on your interior lights, (c) place both hands on the steering wheel and wait, (d) when he is at your window, roll your window down and be ready to show your driver's license, registration and proof of insurance. Keep quiet and just let him run his checks.
3 When he asks, "Do you know why I pulled you over?" just say "No (sir, or officer). Let him tell you why he pulled you over. Then you can say, "Oh, I'm sorry, I didn't even notice I did that" or tell them whatever feasible story you might have for doing what you did. If you are a female the tears should be flowing by now (unless it is a female cop - then it will do you no good).
4 9 times out of 10 you are on the road again in 10-15 minutes, pissed probably but un-bloodied and with or without a ticket (which you probably deserved).
Oooooor ...
1 Bail out and run if the car is stolen. You stand a decent chance of getting away if you can run fast for a long distance.
2 Running is futile if it is your own car.
3 This a good opportunity to show that you know the Constitution. Ask them, "Am I being arrested?" If they say "no", then say, "I KNOW MY RIGHTS!" Let them know that you don't have to answer any of their questions. This strikes fear in the hearts of most cops and they might just apologize tell you to move along then. Orrrrrr, they might just decide to hassle you a couple of hours beside the road, make up a reason to arrest you or take you down to the office to get it all straightened out.
4 If a person of color, give the cop an opportunity to make up for historic injustices. If the cop is white, remind him that his forefathers mistreated blacks during slavery and Jim Crow days - and that he is continuing those injustices now by pulling you over. Let him know that you know that is the only reason he pulled you over. He will probably recognize his collective guilt and let you go.
5 Know that you can probably kick any cop's butt in a struggle and get out of their grasp. Sometimes that works, but not always. Sometimes the cop just loses their rationality for a few seconds - and shoots. You're dead, he's sorry and maybe in a lot of trouble. And we get to argue with one another for weeks (never changing one person's mind) on another cop-shooting thread.