You will need to perform a Factory Reset operation. Power off the phone then press Volume Down and Power button until you are being asked if you want to enter Recovery mode or not. Access Recovery and select Wipe Data/ Factory reset. This will wipe all the data and custom settings from the phone making it usable again.