This is the most important thing you can do to prevent ants from coming indoors. The easiest way to stop them in their tracks is by sealing and cleaning up all food spills. This includes sealing open garbage cans, as well as regularly cleaning dishes, and eliminating excess food around sinks and cooking areas. Remember that ants are attracted to sweets, so keep these foods sealed up as well (and don't leave your sugar bowl out!). Make sure that nothing is left on counters or tables overnight either—if you're going to be away from home at night after dinner, make sure there's nothing left out where ants could crawl into it overnight!