Welcome to Apple Support Communities! It sounds like you've reset the Face ID on your iPhone X, but now you're having trouble setting it up again. We have some great steps here for issues with face detection. Check them out here:
Get help with Face ID on your iPhone X - Apple Support
Take care!