You can follow along here to seize roles to another healthy domain controller.
https://learn.microsoft.com/en-us/troubleshoot/windows-server/identity/transfer-or-seize-fsmo-roles-in-ad-ds
--please don't forget to Accept as answer if the reply is helpful--