I keep a small box of instant mashed potatoes on hand and sprinkle a few spoonfuls where i think they travel. I do this at night since most are nocturnal. After they eat, the flakes expand in the stomach and well they die.
NOTE: If you have pets keep these flakes out of their reach.
https://www.bhg.com/gardening/pests/animal/get-rid-of-moles/ you may not want to --- they can actually benefit your soil !