You should read the manual
To restart the iphone. Press the power butto until the slide to turn off button appears, then slide it.
Then press the power button again.
A reset is holding the power and home button down until the apple logo appears.
A restore, the most drastic of troubleshooting, is connect to itunes and clicking restore.
Click Support at the top of this page, then click the link under Manuals