Preventive measures are key to keeping rabbits away from your garden.