Hopefully, you have a backup created on 👉 iCloud and/or on a computer. If you do then, you can 👉 Restore your iPhone from the backup file once your passcode has been reset and the iPhone has been returned to factory settings by the procedure in the link above.

