im planning to buy a secondhand car and i want to assure that the car im buying is not stolen. can you give me ideas of how to avoid carnap vehicles.

thanks a lot!