If the flashing is seriously damaged or cut, it might need replacing. If this is the case, you will have to lift up or remove the roofing material around, as the flashing goes underneath it. Replacing a roof is a significant undertaking that many homeowners consider tackling on their own. https://lorenzodjouz.wikihearsay.com/2875156/the_definitive_guide_to_roof_replacement