If you have a problem with sugar ants, a mixture of half vinegar half water sprayed on the ants will eliminate them instantly.
Someone told me that another way to rid your home of sugar ants is to place moth balls around the base of your home. I havent tried this yet, but its worth a shot