Determine why they are entering your property and eliminate the food, water and/or housing that they need to survive.Promptly clean after meals and take all trash out of your home. Know that learning how to get rid of ants involves creating an ant-proof abode.
Move outdoor trash and recycling bins as far from your home as possible.
Tightly wrap and store food set out on kitchen counters.
Refrigerate all perishable food, especially in the summer, when fruits and vegetables may spoil quickly.
Remove pools of standing water. Ants get thirsty too.