Did you try following the directions on the screen … Wait a while, then try setting up Face ID again? If that did not work, I would suggest powering your iPhone off … wait a few minutes … power it back on … then try to set up Face ID again. If that does not work, contact Support:
Contact - Official Apple Support