A police officer cannot automatically search your car just because you were stopped during a traffic stop. Typically, police must have probable cause to believe that your vehicle has contraband (like drugs) or evidence of a crime. Police can also search your car if they reasonably believe that you may have access to weapons in the vehicle and they are detaining you or if they impound your car.