Boo hoo to the OP. The answer is simple. Do what other people do. Keep your hands visible at all times. Say yes sir and no sir. Follow their instructions. Don't get self righteous, angry and confrontational. Don't turn your back, walk away or stuck your hands in your pocket or waistband. Don't be an ass. If you think you were treated unfairly, get a lawyer after the fact. Don't challenge the officer and try to prove him wrong on the street. In other words, common sense.