The best thing to do is exactly what the officer says to do. Pull over at a good spot for the LEO to get out of his car and roll your window down and turn off your car. Keep both hands on the wheel. When he approaches the window tell him you are armed and have a permit. Then do what he says to do, if you are not sure whet he wants then ask him to repeat it.
Bottom line do as you are told and nothing more. Don't reach for your gun or the glove box. The officer wont know what you are doing. Just sit still and follow directions.