1. Either turn the phone off or remove its battery.
2. Put the battery back in, turn the phone back on. Done.