Sprinkle some black pepper where the ants are in groups, as they dislike the pepper smell & it's unbearable for them.
Turmeric as well as cinnamon work as natural ant repellents, sprinkle them in the corners of your home and around the kitchen as well. Or you can even sprinkle if you see the ants in the group.
Ants are attracted to sugar and water sources, so always keep your house clean, wipe away the food crumbs, spills or any kind of moisture.
Mix sugar with borax powder and then place it where there is an ant trail, they will carry it to their home, eliminating all the ants.
If there is any crack on your windows, doors, or walls, remember to seal them, especially during summer, as it will prevent ants from coming in.
Ants never like citrus things, you can place lemon and orange peels near the entry point to keep them away.
If you sprinkle coffee grounds around the entry points of the ants they won’t be able to bear the strong smell and run away.