Chosen Solution
Accidentally dropped my iPhone now I cant press anything on it. Cant unlock it either. the buttons and the home button works. I tried restoring in DFU mode but it didn’t do anything.
What could have happened is you damaged the LCD aka the touch screen, even though the iphone 7 is known for many issues, mainly audio, from the sounds of it, i believe you damaged the lcd which you will need to replace