Sugar ant is actually just a general term for a lot of different ants. Any ant that goes for sweets ends up in the broad category of sugar ant.
These can actually be crazy ants which are tiny ants that seem to move in all directions with no rhyme or reason. They may also be odorous house ants. These you will find walking in a neat little line going after sweets such as sugars and syrups. They will also eat proteins such as other small insects. They can actually be quite aggressive little ants.
The first thing you need to do is seal up your house. Use caulking on cracks and crevices and weather stripping for under doors. If your house is sealed like a fortress, the ants cannot get in.
The next step is also a preventative and that is to get rid of the food sources. Clean up your kitchen and make sure there are no sweets such as sugar and the like for the ants to feed on.
Now you need to make sure your ants are actually sugar ants and are attracted to sweets. Put out a sweet food source and watch for the ants to go for it. When you find the trail, dust it with a safe, botanical pesticide such as something from EcoSmart. EcoSmart sells pesticides that are so safe, they are actually exempt from EPA regulation.
The ants will walk through the trail of pesticide and when they clean themselves, they will ingest it.
Now that you now the ants are going for sweets you can put out sugar based bait. The worker ants will take the bait back to the colony and feed the larvae. The larvae produce a by-product that both the workers and queen will feed on. In this way you are killing the entire colony.
To keep the ants from entering in the first place, you can kill them in the yard before they come in. Be proactive by using a time release granule around the outer perimeter of your home.
Ants can be a nuisance but if you follow these tips they are generally pretty easy to get rid of.