I basically agree with everyone else. If I can figure out where they coming in I get out my caulk and caulk it up and spray some ant killer. If I am not exactly sure where the opening is, but I see the trail of ants, I put those little drops of aunt bait that they walk through and bring back to the nest and self poison the nest. If you have pets you might be reluctant to lay down poison. if you can close off that room to your pet, then you can consider it, and then clean it up fully after a week. I also spray around the outside of my house about twice a year with bug spray. If you see aunt hills in your lawn the aunt killer granules work like magic. They ant hill collapses within in days. My mom used to use boiling water. Pool aunts, I do feel badly for them actually.
If the aunts are in your kitchen be super fastidious about not leaving any food out. Some ants are very attracted to sugar, some are attracted to grease. If they are near your stove consider pulling the stove out from the wall if it is an over stove unit, and clean the sides and behind, you would not believe how dirty it gets thee if you don’t have those guards between the stove and the counter. I just did it, and I am shocked I don’t have ants. I really should clean back there more often.