Try to boot your iPhone 7 into Recovery mode. First connect your device to computer with USB and open iTunes. And then keep pressing the "Side" button to shut down your iPhone. Next, hold down the "Volume Down" button for about 10 seconds (don't release the button until you see the "Connect to iTunes logo"). Use iTunes to restore iPhone 7.