Read this article very carefully:
http://www.edmunds.com/advice/buying/articles/42962/article.html
It's very long, but will give you a good idea of what you're up against when buying a car.
My advice: If you don't have a lot of experience buying cars, find someone who is and take them along.