A few months ago I was told that bugs are repelled by mint, so I got a pint spray bottle and put a tsp of mint extract in a pint of water and I spray it around the room liberally. It not only controls bugs, it also smells nice, so I have been telling people to spray their homes with mint extract ever since.
I also sprinkle my coffee grounds around the foundation so the ants will go someplace else. That works too.