Soil that has too much moisture is a breeding ground for fungus gnats. So, the number one thing you should do to get rid of these tiny insects is to adjust your watering regimen.