how do i remove all info and pics from my 5s

giving phone to another family member and I need to restore phone to factory settings and erase all info.
Welcome to iMore! First go to Settings >iCloud > Toggle Find My iPhone off.
Then toggle iMessage off.
Then go to Settings >General >Reset > Erase All Content and Settings
Here's more info from Apple:
https://support.apple.com/en-us/HT201351

Original thread: https://forums.imore.com/threads/how-do-i-remove-all-info-and-pics-from-my-5s.360774/