Remove apple ID without password
We acquired a phone from a friend an the apple id was not removed prior to importing our phone data. we have now bought another phone Iphone XS and the apple id is still there. We have tried several attempts at the password without luck. How do we remove it
iPhone XS