There are a lot of things you can do about that. First, you have to choose the right location, use a tarp over your tent, keep everything inside your tent dry, have a ventilation system for your tent, and most importantly, don’t cook inside the tent.