In the standard procedure all of the nails/screws are re tighten, if any don’t grab to the roof structure then they will be pulled out and replaced with a roofing screw.

The other option is that all the old nails get pulled out and replaced. This will ensure that the roof will stay secure for many more years.