Cast all defence increasing spells and send all youe defence units in the village that is going to be attacked

that is the most common defence tactic but the most useless one too, only works when you clearly outpower your enemy or if he is sending small raiding party, in all other situations it is better to use other tactics