Get the VIN number and go to
Carfax and buy a vehicle history report. They collect data on cars from a whole bunch of sources and compile it for you. They will even offer a buyback guarantee if the history of the car is clean and then you have major problems. Poke around the site for a bit.