Sorry to hear of your bad year
Spain is, as you know, a very large country, and I think you really need to decide the area you want to go to before you start on the detail.
In brief, property near the coast in the costas or in the cities is generally most expensive, and as you move inland you get better value for money.
Had you thought of a preferred area?
I've moved this to the Spanish section for you