first Option
This method is functional when we know the pattern but someone entered wrong several times and we are now asking is the google account. And it is the password for this account what we have.
Create a new Gmail account on the PC.
Call from another number to your mobile.
Took down and press the Home key on the phone.
Turn the wifi if it was off.
Go to Settings -> Security and disable the pattern unlock. Yes we know we are not to use the second option.
Go to Settings -> Sync and add the Gmail account just create us in the PC.
Turn the wireless.
Turn it on and enter a new Google Account
This method is valid only in some older versions of Android, so it's possible that the newer phones do not work. If this is the case should go to the Storage menu -> Factory data reset. This will erase everything on the phone but we solved the problem.
second choice
This method is harmful to mobile data, but is the only option if reuse method one has failed. Just do not erase what you have on your microSD.
Turn the wireless.
Turn into recovery mode (by pressing the Volume Up, Home and Power at a time. If the phone has physical buttons for call and hang need to press green call button, Home and on at a time).
Many options appear in a new menu (to move to do it with the volume keys).
We chose the WIPE DATA / FACTORY RESET option.
When finished choose the option REBOOT SYSTEM NOW.
This will format the phone and left as it left the factory.
As we say the second option is how to format a PC, we lose everything that we were not saved on the microSD.