We often tend to ignore the small opening or entrances on the floor or ceiling where ants can make their colony. "The best way to get rid of ants is to block their entrance." -Pest Experts in Ontario. Once you come across few ants in your kitchen, instead of killing them instantly you can look for their source and block their entrance. You can also check for the small opening on your kitchen floors and try to seal them using a sealant or cement.
Using Coffee/Baby powder
You can also use coffee to deter ants from entering your home. Coffee granules act as a barrier for ants and help in getting rid of ants.