All you need to do is plant different crops outside your farm to protect it from waves of zombies trying to attack. Each plant has its unique characteristics, making it more effective against specific types of zombies.