Firstly, when you take out insurance on your property for both the buildings and contents, you should be asked to confirm whether you have for example, window security grilles and locks, security doors and whether you have an alarm fitted etc. etc …………… . and the cost of your policy will be reflected on the standard of security on your property.
However, in the case that you are broken into, you have to go to the Guardia Civil and give details of the damage done and property taken. They in turn will give you a claim number so that you can go to the insurers who in turn will ask whether you had proper security bars and alarm etc ……. (bear in mind this should have been included with your policy) and then you will be able to recover some of the loss.
Please check with your insurance company that you are fully covered, if not, rectify the situation immediately.