Those little bugs that fly around your plants are fungus gnats. They do not damage your plants, but they are extremely annoying. You can get rid of them with any general purpose houseplant insecticide. I might also consider repotting your plants in fresh soil. Too much water can keep these critters going, but once they get started they are hard to stop no matter what you do. I'd start with the spray and then consider repotting.