You'll have to plug it into your computer and reset it through iTunes. It will wipe everything from your phone and reload it. You might lose some of your stuff if you haven't synced your phone in a while.
If that doesn't work take it to the apple store.