my iphone account is my friend email how can i change it in my new account
How can I change my Apple account?
Ask a QuestionTo change your Apple ID, you need your friends password. If you know the email address used for the ID, you can reset it. But you may need to answer security questions for that.
https://support.apple.com/en-us/HT201487
https://support.apple.com/en-us/HT201487
If your device is locked to your the iCloud account associated with your 'friend', your 'friend' is the only person who can release it so that you can use the device. If your 'friend' is uncooperative, there's nothing anyone can do for you in this matter.
Original thread: https://forums.imore.com/threads/how-can-i-change-my-apple-account.331683/