You can press and hold the power button of your samsung phone +volume up button +home key unless samsung logo appears.after that release the power button. In Android system select factory reset. Then your mobile will reboot. In that case copy all your important phone no and documents. Cause after reset you will loose all your data.