Bleach. And it probably wouldn't hurt to clean the shit out of the room the tent is in. Could always get some predators in there as well. Lady bugs/asian beetles like to munch on aphids.
They got to the flying stage and were stunting the plants. I just cut them all down. The buds were growing very small and leafs were curling. It was strange because one day seemed to be just fine and then as the temperature started to increase signs got worst and then started to see the flies. And just didn’t want to deal with it. I was in early flower.
So far i sprayed down the grow tent with bleach. And placed a few yellow strips to catch any of the adults since the adults like to hide and stay still in cracks and crevices I’ve noticed .