Colonies are set up by ants and from these colonies; scouts are deployed to search for water and food source within the vicinity. A scent trail is left behind by way of the scouts to leave a smell to the other ants to follow and for them to trace their way back when they see a food source and water to inform the colony. If the information have been returned, fellow members of the colony will follow the scent back to the source to begin collecting. There are many of ant colonies, some may probably create sub colonies and set up queens to generate a new colony nearer to the food source and water.
To start is to is to remove their food source. Scouts will be the key to their food supply, scouts will wander endlessly until they find a source of food and report to the colony. In an enough span of time, every bit of possible resource in your home will be found by the ants.
To eliminate their food source, secure all food right into a tightly sealed box or jar or either keep them safely inside the refrigerator. Guarantee that no crumbs or stains are left within the counters, floor, cabinets, and shelves in your home, keep sinks and other areas dry to restrict water source from the ants.
When ants get their source of food out of your pet's bowl, you can solve this problem simply by setting up a pool of soapy water surrounding the bowl that will serve as a barrier so that ants cannot go over their food source.
The other way to reduce these ants is to seal the exact entrance of the ants to your own house. Vaseline, chilli powder, boric acid, and cinnamon are ingredients accustomed to block the way or entrance of ants, these substances will dissuade ants to go forward as they do not wish to. However, these blockages are merely temporary, it'll always be best to seal all cracks, gaps, and holes inside your home.
After which the third one would be by reducing their scent trail. Scouts are created to seek and leave trails, one of the ways to get rid of them is to get them lost and disconnected from the colony. When you find a scout, quickly kill them and wipe away the trail that they have been through, through this, the scout will not be able to report back in the colony and the colony won't have an idea where the source is. Trace the trail where you found the scout, and use a sponge with soapy water to wipe out the trails from the source entirely down to the entrance of your house.
When all methods fail, you could also consider using pesticides, or even better, hiring a professional pest management company to get rid of the problem for you.