Restoring a old but new to me iphone?

My iphone broke so my friend is letting me use his old iphone, i want to restore his iphone with my backed up content from itunes. When i plug in this phone to my computer it comes up (his name)'s iphone i want to be able to put my stuff on it though

Do a master reset on the phone first

settings
general
reset all

  • Where do I sell my iPhone 5s which is brand new but it was exchanged at Apple since I broke my old iPhone 5s? So a few months ago I broke my old iPhone 5s and went to the Apple store to go exchange it for a new one. I got a iPhone 8 for Christmas and now that I can't go back to Apple to exchange it again, Where do you guys think is the best place to sell it?
  • Just switched my number to a new iphone, but my old phone still works? I just went and started an individual plan and got a new iphone 5, and they carried over my number from the virgin mobile prepaid i had before. My new iphone can make calls and send and receive texts… But so can my old phone. And when i called my cell number using my house phone, my old phone rang, but my new iphone didn't. Do i have to like cancel service or something? I'm confused about what to do, the guys at apple didn't mention anything about it.
  • I got a new iPhone but my old music won't load I went from a iPhone 4 to 4S I logged into my iTunes account but it won't load my music! The iTunes store says I purchased it and won't let me re download it? What should I do!
  • I bought a new iphone 4 but it still has service from old user? Hi! I bought an iphone off this guy. His service is still on it, and he told me to cancel it and put my phone service on it. The acount isn't in his name and he doesn't know the information. I know you probably think it was stolen, but it wasn't. Is there any way i can cancel it on my own? Like reset the phone or something and make it brand new?