It might seem logical to pour bleach in drains where flies are hovering, but this often does very little to get rid of the pests – and is bad for the environment. The flies and their larvae will live on the walls of your pipes, which the bleach does not stick to, avoiding them completely and having no effect on your pest problem.