Place the traps in compact dishes around where gnats congregate. The gnats will likely be attracted to the sugar and vinegar and can get trapped because of the dish soap and drown, Schutter suggests.Stay away from overwatering: The top perpetrator of system-linked fungus gnat infestation is overwatering. These pests prosper in moist potting soil, a