Did you replaced the screen? Or repaired by a 3rd party?
Read here: Use Touch ID on iPhone and iPad - Apple Support
and here: Get help with Touch ID on your iPhone or iPad - Apple Support
If no joy, make a genius bar appointment with Apple for an evaluation.
They have tools to test your Touch ID.