This will wipe your device so hopefully you have a backup from iOS 10.
Enter Recovery mode by turning off your iPhone or iPad, then holding the Home button (on the front, below the screen) on your iPhone or iPad. This can take a while, so don't give up after a few seconds.
When it says 'Connect to iTunes', do exactly that - plug it into your Mac or PC and open up iTunes.
iTunes will tell you that it's detected an iPhone or iPad in Recovery Mode, and that this needs to be restored - click OK to agree to this, and then Restore iPhone or Restore iPad (as appropriate).
Finally, choose the option to Restore and Update. iTunes will download the latest version of iOS 10 and install it on your Apple device.