Get a dog, go out walking and you will find friends. We talk to far more people now. Some of my friends do dog walking in the local refuge.
Look up your English newspaper for groups arranging outings together usually starting in the Autumn.
In September join a Spanish class if you don't know much Spanish. Some of our friends go to a cafe where they pair up with Spanish people wanting to learn English (cost is a coffee).
Find a charity shop and offer your help even for a few hours in a week. Our local MABS cancer charity group would welcome someone with nursing knowledge, befriending, driving etc.. You don't need to commit for too many hours as they work rotas.
Join a local group like a bridge club, quizz group or church group.
I suppose the list is endless but find one that suits you giving yourself enough time to relax too!