Ants help

There’s tiny ants coming from a little crack in the wall by the floor in the kitchen of my apartment that happens to be right by my cat’s food and water dish. I sprayed the area with insect killer spray and moved my cat’s dishes to another area. But I’m afraid these ants may be in other areas too. What do I do?