Stop in for a cup of coffee

So, does putting ant bait out, when you see them in the house, stop Ants, or just attract more of them that you would not have had otherwise?
Both