To protect your resources, focus on upgrading your storages and keeping them well-defended. Place your storages within the core of your base, surrounded by defensive buildings and walls. Additionally, spend your resources regularly to minimize what can be stolen, and use shields and village guards to temporarily prevent attacks.