The number one (and safest) way to eliminate moles is by eliminating their food sources. Moles are attracted to areas with abundant food sources, so removing food sources from your yard or garden can help to deter them.
Start by removing overgrown vegetation, and food scraps, from your yard.
Next, because a mole's most significant dietary choice consists of grubs and insects, consider using an insecticide-grub and insect control treatment to eliminate that food source.