Buying a used car can save you money—but choosing the wrong model could lead to expensive repairs down the road.