It's important to clean up food debris, store food in sealed containers, and use household cleaners or mild vinegar and water mixtures regularly to clean kitchen counters or anywhere ants are seen.
Permethrins in aerosol or liquid form are commonly used for treating visible ant nests. Insecticide dusts are also effective when applied inside wall voids and areas of consistent moisture such as plumbing lines inside the house.
Use outdoor treatments to prevent ants from coming inside the house in the first place. Baits in the form of ant stakes or bait stations, which contain pesticides and materials to attract ants, are effective when placed where ants are seen outside of the home.