As others have indicated your problem is most likely physical damage but just to be sure, if you have not reset your iPhone to factory specs give that a try.
"All you've got to do is own up to your ignorance honestly, and you'll find people who are eager to fill your head with information" --Walt Disney