A. Re-register your fingerprint by going to Settings > Security > Fingerprint and delete the old fingerprint data. Then, add your fingerprint again, ensuring that you cover the sensor fully during registration.
B. If the fingerprint reader continues to fail, use a password or PIN as a backup method for logging in.