Sales tax must be paid at the time of purchase; basically consider it an added amount to the listed price of the vehicle.
If your car's MSRP is $32,000 and sales tax is 3%, then you'd be paying $32,960 (or financing it / etc) before driving off the lot
Hope this helps!
EDIT: You pay the sales tax to the dealer. The dealer handles getting that over to the government themselves.