Your step-by-step guide to checking a car’s history before you buy