I use diatomaceous earth & sprinkle around plants & flowers. It gets rid of the ants as it is microscopic & "cuts" them. Another use is soap with Neem oil mixture. Some people buy beneficial bugs to help out. Another option is to look into the good nematodes.