Hi Ric.ror, Sounds like Scariad flys aka fungus gnats, these pests live and feed on the compost and can also be a problem with germinating seedlings.
You can use special, sticky yellow tape traps to catch them or use house plant chemical sprays and use as directed.
Try goggling 'Scariad flies' plenty of advice on the RHS site.
Good Luck...Chip.