DIY traps and ... on plants, or use dish soap and vinegar to trap and drown them in a mason jar or bottle. Some of these ideas work overnight and can even kill fruit flies on the spot.