Is there a way to reset my iphone 4 to fix this problem
It sounds like a reset is probably the most likely thing to fix this. It will reset your iPhone to factory settings, and then put back your settings and media from a backup.

You can rest your iPhone by connecting it to iTunes, selecting it in the sidebar, going to the General tab, and clicking Restore.

Take a look at the Restoring Your iPhone section of this Apple support document for more info.