My wall socket is wired to my light switch
Is it something i can fix?


You are probably able to fix this but you are probably not legally entitled to make changes to the wiring without the landlord's permission.

My guess is that he connected a wire to the wrong side of the switch.

In the UK you cannot mix outlets and lights on the same circuit but I don't know if this is permitted in Spain.