Smear something that ants don't like to smell. Vinegar, peppermint oil, cinnamon, black peppers, hot peppers, clove seeds, and bay leaves all help to keep ants at bay. However, it's important to note that some of these ingredients can be harmful to pets and irritants for curious children.