You need to hold and press these three "Volume Up + Home + Power" buttons together for a few seconds until the device turns off completely. Once the Samsung logo appears, navigate to the menu by either pushing up/ down of volume keys. Choose the option “wipe data/factory reset” from the menu to act.