Sort:  

I have no idea if they are mosquitoes or fruit flies they are small and they were in the soil I think. it'll be fine

Okay maybe gnats then.... generally they are small flying insects that lay eggs on moist soil. Sometimes the larva burrow and suck the juices out of the roots, causing damage. Sticky traps and DE usually work well against gnats.