How do I get my phone back to its original set up.

I was loading my pictures from my phone 5s to my home computer...when a back up message appeared and started backing up my phone. When done I could not access my email, pics etc. Thats when I noticed all the information on my phone was my husbands...I need to get back to my original set up.
Do you backup to icloud or a computer? it sounds like you need to do a restore

This is for doing it if you backup to a computer:
How to restore your iPhone or iPad with iTunes | iMore

This is for doing it if you backup to icloud:
First you need to wipe it How to wipe all personal data and erase your iPhone and iPad | iMore
then you do the restore How to restore from an iCloud backup on iPhone and iPad | iMore
Welcome to iMore! The Easiest way is to go to Settings > General > Reset > Erase All Content and Settings. This will bring your device back to factory defaults. From there you can set up as new or restore from an iCloud or iTunes backup.

Original thread: https://forums.imore.com/threads/how-do-i-get-my-phone-back-to-its-original-set-up.377786/