First you can try to force reboot your phone. To do this:
1. Hold down the sleep/wake button and home button simultaneously.
2. Let go when the Apple logo appears and the iPhone is booting up.
If that doesn't work, you might need to hook the phone up to your computer and do a full restore through iTunes.