Erasing ant trails will not prevent them from coming back, as new ants will simply create new trails. To permanently get rid of ants, you need to locate and eliminate their nest and breeding sites.