Questions you need to consider:
Where are you looking (Spain is twice the size of the UK with even bigger variations in living costs)?
When you sell your place in the UK and buy in Spain, how much will you have left over?
Is now a good time to exchange the money left from your UK house sale into euros? (Probably not, but it might get worse!)
Can you learn Spanish, and how long will it take?
If you can’t learn the language quickly, can you work for ex-pat firms (builders, pool installers, bars)?
Could you set up your own business?
How much money do you really need?
Are you running away from problems that will follow you? (Sorry, but you have to think about that one.)
Elsewhere on this site you’ll see stuff about living costs. Most things in Spain remain cheaper than the UK even at the current terrible exchange rate, but some - used cars, electronics, maybe health insurance - are more expensive. And pay rates are lower, should you be lucky enough to get jobs at all.
And definitely, absolutely RENT for a while before you buy. Houses are just getting cheaper in Spain anyway.
It’s a terrible time to move to Spain, but then it’s a terrible time to stay in the UK too. Good luck.