Foxes don’t appreciate the smell of natural ingredients like onion, garlic, peppers, etc. So, planting these aromatic plants in the garden can keep them away.