Check if you have iTunes or iCloud backup of your iPhone first, if you have either of them, try to restore with previous backup.

iTunes and iCloud will automatically back up your iPhone even if...