To prevent future rot: apply a water-resistant coating on the entire deck and keep an eye on sections where leaves, debris, or standing water collects. Keep those problem areas clean and dry.