I'm sure there are probably many natural ways that have been listed on here but I use ant traps under the sink cabinets. Only have to replace them once during the warm weather and they have worked well.
I had them, and every day I brewed a cup of peppermint tea and left it sitting by the place they congregated. I also kept a few of the same tea bags open in an uncovered dish near the sink. After a few days, they were all gone. Apparently, they don’t like the smell of mint.
Spray bleach and let it sit dry ant water there they are looking for water
Hi Ruth - Those little buggers are relentless, aren't they?!? This is the most effective method and all-natural spray DIY that we use with ants. It's best indoors, but will also work outside with more frequent applications. Hope this helps! Hugs, Holly