If you have trees close to your home, prune nearby branches —especially ones that are old and diseased — to prevent them from falling onto the roof rein the future. If the entire tree is diseased or unstable, you’ll want to have it removed by a professional. Replacing the damaged flashing should correct the leaking issues at the joints. Yo