MrStinkyanswered grow question 3 years ago Looks like fungut gnats mate.
They are attracted by moist conditions and overwatered soil (if you got bad soil from a store they can already have made a home in the bag at the store prior to you buying)
They love yellow stickies
If they are in the soil you have a dew options:
Top dress with a ligut powdering of diatomaceous earth - kills adults
Get some nematodes sf - they eat the larvae but use a TINY amount of the powder.
You can do a neem drench
You can do a H2O2 drench - nuclear option against your substrate microbiology so apply fungus and beneficial bacteria if you do this if you are organics.
If you have been overwatering let the pot dry and they cant fly well so turn the fan up.