Are you looking to factory reset galaxy s7? First you need to press and hold the volume up and home, Now press and hold the power button, after few seconds Samsung button s7 will boot automatically.
https://how-to-reset.com/blog/factory-reset-galaxy-s7/