Prevent dry rot from spreading
I'm writing this answer based on the assumption that you are using the words dry/wet rot and mold all to mean just mold.  Mold needs three things to grow, moisture, darkness, and warmth.  Since moisture causes other problems besides just mold I generally recommend mitigating the source of moisture, but if that is not feasible then adding UV exposure will prevent surface growth.