Looks like fungus gnats. If so, be happy, they are about the least bad to get rid of. Yellow cards for adults, dry out the grow medium between watering's. I tried sand on top, but it just washed down when I watered. I used diatomaceous earth and it did nothing and washed down also. The GWE tutorials and the best source of information. However, proper watering is the key to prevention next time.