All you need to do is
1. Switch Off Your mobile phone.
2. Press and hold Volume up + key, Volume down - key and Power Key.
3. Select Recovery Mode use volume up key.
4. Multiple options appears on menu.
5. Press any button Then press power button. and press left context menu button and back touch key Simultaneously and hold for at least 3 to 4 sec
6. Now select Wipe data/factory reset and then press enter button, to confirm it press menu button again.
7. Now after that chose reboot and confirm it pressing menu key .
8.Your phone will be reset
READ MORE ON SAMSUNG