More than likely you have a hardware issue. I suggest restoring your iPhone using iTunes to eliminate any possible software problems.
open