You can make a vinegar fly trap to get rid of house flies. White vinegar is an easy natural repellent that can effectively deter flies. Make a homemade spray by mixing dish soap, water, baking soda, and vinegar in a spray bottle.