Try to power off the device
press and Hold these button together - Home, Volume up, power
First Samsung logo will appear, release the buttons after the system recovery menu appear.
Press volume keys to select wipe data/ factory reset and press power key to make the selection.
Now select yes to...