To get rid of moles, it is important not to overwater your lawn as moles are attracted to moist soils. Ultrasonic repellers or mole traps can be used, which are both effective, although the latter do nothing to prevent new moles moving in.