Use a biological control
If you have lots of house plants, it may be worth applying a biological control. To tackle fungus gnats use the nematode Steinernema feltiae, predatory mites or rove beetle larvae, and apply according to the pack instructions. These are available from online suppliers. While nematodes can be used in the home, the mites and beetle larvae are best used only in the contained environment of a greenhouse or sealed conservatory. If you’ve only got a few house plants, try growing a sundew (Drosera) nearby, as these sticky carnivorous plants are very good at trapping fungus gnats.