I had a gnat prob I put screen in the bottom of my pots then a inch of perolite on top of the screen the gnats were going in the bottom of the pots covered the top with sand and mixed in beneficial nemetodes to all my soil. I didnt see a gnat after a week of doing this.. I tried everything else and it just slowed them down before the beneficial nemetodes killed them off