Assuming you have done a forced restart, the next thing to try is to reset all settings.
If that does not help connect to iTunes and do a restore.
If you still have problems at that stage make an appointment at the Genius Bar to have the phone evaluated.