Another way to keep them away from your garden is to remove their favourite foods, such as earthworms, crickets, and grubs. Without these to feast on, moles will begin to look elsewhere.