Hi,
On iPhone X Face ID works by using the TrueDepth Camera System. This system is in the "notch" and to get it working best, try the following:
- Use Face ID on good lighting and angles https://support.apple.com/en-nz/HT208108
- Reset Face ID Data
- Contact Apple Support