Before you buy a used car, know the red flags. Here’s what to inspect, ask, and avoid to make sure you get the best deal.