Chosen Solution

after fall my iPhone x depth camera not working and face id unable to activate please help it has completed its warrenty

You will have to take your phone in to an Apple Store in order to get your front camera replaced so it will not disable Face ID, because replacing the front camera with an aftermarket part will disable Face ID. https://support.apple.com/en-sg/HT208108