Using Peppermint Essential Oil To Get Rid of Ants. To get rid of the ants I put about 5 drops of Peppermint Essential Oil on a cotton ball and then wiped it around the edge of the fireplace hearth where it looked like they they were coming in. I then left the cotton ball near that area too, to help keep the smell of peppermint around.