Welcome to Android Central! If the phone was given to you, then I'm assuming this is a friend or family member -- so contact them and ask them to help you log into the phone using their Google account information. Once they've done that and you're logged in, immediately go to Settings>Accounts, select their Google account, then tap Menu>Remove Account. Then do a factory reset. After this reset, you should be able to set the phone up with your own Google account.
If the person who gave you the phone can't help you, then you're stuck. There's no way around that security measure, and we don't allow discussions on how to bypass security measures.