Depending upon why the officer felt it was necessary to initiate a traffic stop you may, or may not, be given a citation or warning ticket. If you receive a citation you will be advised of a court date which allows you the opportunity to take your case before a judge. Certain traffic violations require that if charged you are taken into custody and must appear before a magistrate. Once business with the officer is finished, you should merge, with caution, back into the flow of traffic. Do not assume that the officer knows that you are the perfect, law abiding citizen.
Law enforcement can be dangerous work.
Officers must be cautious at all times.