I was given an IPhone 4s. How do I delete the previous owners data (pictures, emails, etc.)?

Would like to delete her info so I can add mine.
Welcome to iMore

Did the previous owner unlink the phone from their Apple account? Generally before you sell/give away an iPhone everything in this guide must be followed;

https://support.apple.com/en-us/HT201351

Original thread: https://forums.imore.com/threads/i-was-given-an-iphone-4s-how-do-i-delete-the-previous-owners-data-pictures-emails-etc.359850/