You can't, not without the correct ID and password. If your friend doesn't know the ID, you he/she try to find it as explained here: http://support.apple.com/kb/HT5625. If he/she doesn't know his/her password he/she can reset the password as explained here: http://support.apple.com/kb/PH2617.