What you need to know to protect yourself before buying a car