If you want a more peaceful way to rid your house of flies, you can simply try and direct the flies out of your window or wait until they land on a surface before catching them in something airtight like a jar or plastic cup.