Flies
Some herbs & flowers repel flies, and can also be used in a spray bottle:
ginger
marigold
eucalyptus,
peppermint,
lemongrass
Cayenne pepper
Traps
Traps can be baited by vinegar, honey, wine, fruit, meat
Funnels can be made with paper that are large enough to go down through but too small to come back up. Walk outside, let them go!
Plastic bag over top, poke holes, honey on holes edge, hard to get out
healthline.com/health/how-to-get-rid-of-house-flies#removing-flies-naturally