Hopefully you were able to get your information back already. But if not, do you know that you have made a backup of your device on your computer with iTunes or with iCloud?
You can check in iTunes to see if you have a backup by on a Mac going to iTunes>Preferences>Devices or on a PC go to Edit>Preferences>Devices.
Once here if you have a backup of your iPhone you will see your iPhone and time and date.
If there is one here you can just do a restore from backup which will be on the "Summary" page of your iPhone while it is plugged into the computer.
If you have been using iCloud as a backup, you will have to first go to Settings> General> Reset> Erase All Content and Settings.
Then when it starts up it will ask you to restore from iCloud by signing in. I hope that helps.