How do you fix Face ID that has stopped working on an iPhone?
If Face ID is broken in hardware, take the iPhone to an Apple Store or Authorized Service Provider. If it just won't recognize you, work through Apple's steps: update iOS, check settings, clean the TrueDepth camera, face the phone, restart, add an alternate appearance, or reset Face ID.