The buyer needs to pay you before they take the car away, and we recommend that this should always be by bank transfer.
If the buyer can't pay by bank transfer, you should hold on to the vehicle until any money has cleared. You should never take cash as payment.