Assuming you want to rid your garden of moles, the only foolproof way is to hire a professional mole catcher but you'll need to do this on a regular basis - best done in early spring when they're on the move looking for mates and then later when the babies leave the nest and set up their own territories. Lots of tunnelling at those times.
I have found that mole reppelling plants, moth balls in tunnels, bottles and other noisy devices just don't work. A friend told me her husband put the hose pipe in the tunnels and left it on on all night to flood them out. That worked but water is precious and, if you're on a meter, expensive.