Can I fix iPhone X Face ID?
If damaged, Face ID can only be repaired by Apple, so work with care. Peel and separate the pull tab on the final adhesive strip, on the top edge of the upper battery cell.
Go to Settings, tap Face ID & Passcode, then tap Reset Face ID. Next tap Set up Face ID to set it up again.