how to solve screen not functioning properly
Your digitizer is likely broken. You can either send it back to the original manufacturer for repair or find a third party source that can do it for you.

You may just want to consider replacing the phone.