If you want to stop them, and if you growng in dirt, you can put a 1 inch deep layer if sand over top of your soil. Fungus gnats will not lay their eggs in sand or even dig in to it also try bottom watering for a couple of weeks, keep the water level above your drain holes so they will not enter...