To kill Ants reduce the available food resources they can find once inside. This is the best way to kill ants
Repair and caulk cracks and crevices where ants enter the home. Pay special attention to areas around doors, windows, siding, foundation, vents, pipes, etc.
Eliminate outdoor nesting areas around the home such as piles of debris, rocks, boards, leaves, tall grass, etc.
Place ant-attractive foods in glass or plastic jars that are sealed tightly or store them in the refrigerator.
Clean all kitchen surfaces and sweep or vacuum the floor thoroughly each day to remove all food scraps.
Rinse dinner dishes and wash dishes daily to reduce the availability of food.
Rinse used glass, metal and plastic food containers before throwing them into the garbage can or recycling bin.
Take out the garbage regularly and keep outdoor trash cans clean and in good repair.
You can remove trailing ants that are already inside by wiping the ant trail with a sponge saturated with soapy water. This is only temporary, though, and the ants will reestablish trails soon. Further work is necessary to reduce ant activity indoors.