Hi we are all now aware of the consequence of Brexit. If you live in the UK it's going to be very complicated, as people have already explained.
Duolingo is a free app that you can down load which is easy to use and really good. That you can do now.
You will need a car, so if you're from the UK you need to grasp that. If you become resident in Spain you will need to take their test.
The restriction on days see the schengen calendar can Google and download.
Probably best to rent first and find any job that has been advertised for a while with no take up, you will need visa etc then once resident look for one in your field. To become resident you will need to prove you are earning/income is around €30,000 euros.
So many things to cover, but i hope this provides an insight.
Best of luck