When an army is marching at your base, you will see a group of zombies moving towards it. If you tap on them you will get an option to defend your base yourself (triggers a defense mission) or to send your army to defend your base. If you successfully defend your base, you will receive a reward in the form of glory and money. Also, your base will be protected against further attacks for 12 hours upon successful defense.