That's a hardware fault having to do with Touch ID. If you had the screen and/or home button replaced by anyone other than Apple, throw it in the bin and buy a new phone. It's not fixable. Otherwise, make an appointment at the genius bar and have it evaluated by Apple.