Before you embark on a killing spree, here are a couple tips for eliminating ants without killing the earth too. Before any other measures are taken, work for the peaceful resolution: Dump the trash, wipe down counters, tape up entrances, and make sure all caps are tightly on. Before you know it, the ants will move on to tastier neighbors.