Do you or will you have a residency card? You will need that and a driver licence, a Spanish one, to get insurance as well.

www.Segundamano.es is a good place to start.