You will need to perform a Factory Reset operation in order to restore the functionality of your phone. For this purpose, you can use the instructions posted at the related question. Follow the button sequence, enter the Recovery then Factory Reset the phone and you will gain access to the device.