Ants are a social insect that lives in colonies. Ant control should not be done using a typical spray as it often only kills a handful of the worker ants. Treatment plans should be targeting the entire colony to achieve success usually by killing the Queen.
Ants may enter your house foraging for food or it may already be residing in your home. Having knowledge of ant behavior helps in your battle against these pests. They enter through the smallest openings, foraging for water or food. They are in search of either sweet based food or protein/grease based foods. Once they find a food source, ants will leave a pheromone trail for other ants to follow.
Ants communicate by smell and have several glands full of different chemicals they can choose from to send the right message. Once if ants are killed or disturbed, it quickly emits chemicals so that others could tell something was wrong, became aggressive, and respond. Ants also protect their colonies from pathogens by segregation. Some worker ants maintain the hygiene of the colony by identifying sickly ants and segregating them so that the Queen will not be affected. To achieve success in ant control, it is important to note that fast acting poison control only kills the handful of ants that you can see. That handful of ants killed is small as compared to the entire population. A high-performance Queen can produce 30,000 eggs in one day and quickly replace the dead worker ants.
A slow acting insecticide works best to achieve ant control. It will take a little more time but solve the root of the problem.