Restoring your phone will place a new copy of iOS on it. At the end you will be given the option to either set it up as a new iPhone or restore from a backup, if you have one (so be sure to back up your phone before restoring). If the source of the problem you're having is a corrupt iOS this will fix things. However, if the corrupt data is contained in your backup it won't (as the corrupt data will only be returned to the phone. This is why you should first attempt to Restore followed by restoring from your backup, and if not successful, save a much of your data as you can (such as importing your photos, etc.), then restore your phone again but as a new iPhone (not using your backup).