Forgot ipones password, now its disabled?

My cousin had locked his iphone and forgotton the password. He gave it to me to fix it but i do not know how. I read that we need to hold the power key and home key at the same time, but when i do so, it states "Itunes can't connect to iphone because it is locked with a passcode. You must enter the passcode before it can be used in itunes. Whenever i turn the phone on, i can't put in a passcode since its locked. Then i click ok, and then it says "Itunes has detected an iphone in recovery mode. You must restore this Iphone before it can be used with Itunes. I don't know what else to do, so i need help on how to get it back to normal… That is, if i'm able to.

You might have to reset the whole phone, use the usb to plug into a computer, go on itunes and reset to factory

Hack into it using itunes look up how to get into iphone if forgot password and go to the wiki answers one

Lots of info on the net on this: http://www.justtext.com/messageboards/20140127092428.html

Google it and don't use a web site for answers like this one. You can get it back if you do it correctly. I forgot the steps on it but its easy to do.