Minecraft wiki entry for Defeating_a_village_raid, associated text: Ring the bell couple times when the raid bar starts generating so villagers that don't hear the first bell can go back into their houses safely. Immediately seal the doors (or windows if you're in a desert village) so the raid mobs cannot open the doors or attack from the windows.