Try a reset by pressing the home and sleep buttons until you see the Apple logo, ignoring the slider. Takes about 5-15 secs of button holding and you won't lose any data or settings.
If still a problem restore from your backup.
If still a problem restore as new, i.e. without your backup.
If still a problem, it's likely a hardware issue.