I've bought a few cars over the years, mostly new from dealers.
There are 2 steps here:
1) Work out which car you want and if it's mechanically OK; and
2) Negotiate the price.
In terms of (1), having someone who knows about cars (NRMA are good) really helps. Having warranty on the car...