Spray mineral oil. It'll wipe out a bunch of the current bugs. And then spray again in a week or so to get the bugs that hatch.
For a more specific/targeted control, you would need to identify the flies and figure out their life cycle (when the next batch will hatch), but spraying mineral oil twice in 10 days should help regardless of the specific fly. You can also get organic mineral oils...