But there's a quick and easy way to keep both moths AND flies out of your house at night and again it involves a cheap and readily accessible plant. Lavender is absolutely despised by moths.