The phone stops responding when it encounters an error with Java Virtual Machine application related. All you need to do is to perform a hard reset of the phone. You can do this by removing the back cover of the phone and then removing the battery. Keep it away for a few minutes and then insert it back and start the phone. The phone should boot correctly and its functionality will be restored.