Hard reset you phone delete, lose your personal data. First of all charge your phone batter and backup your important, personal data.
Take out your SIM card and SD card.
To reset your phone dial this code *2767*3855#
Wait until finishing reset and automatically reboot phone. Do not press any buttons, do not touch any place will reset and reboot.
Now your phone is reset default factory settings. This code is work most samsung phones reset.