You can go to recovery mode and do a factory reset.
Steps:
1. Power your phone off. And wait for 10 seconds.
2. Hold down the power button, home button(if you have),and the volume up button.
3. 6 menus will pop up, using the volume up and down button to select, select the wipe data/factory...