Troubles with passwords on Iphone

Other Apple Chat

Hello everyone! Could you help me please? I have a problem with my Iphone. I wanted to give my Iphone to another person. I tried to copy all the information of that person to my phone, but didn't manage. I have made some backups and now I can't use my phone. It requests the password to enter ITunes, but when I enter it, the synthesizer says that an error occurs and that the password or Apple ID is incorrect. I tried to enter another account, but the situation is the same. There are just 2 buttons: OK and cancel. I can't even close that window. ITunes can't restore the Iphone from any backup. Please, help me find a solution. May be there's any method for a hard resset to escape from it?