Touch not reacting
Good morning. I bought iPhone x from my friend. All was okay but When I install ear speaker. iPhone was restarting and touch not reacting. I bought new screen I think flex of screen was broken. Still touch not reacting. I recovery ios not work. Please help
iPhone X, iOS 14