Untreated wood will rot if it is exposed to moisture. The best way to prevent rot is to keep the wood dry and sealed.