Aside from replacing the substrate? Not really. These flies are compost flies and they are annoying, but harmless. I have put fly paper up and that does catch quite a few.