If you have forgotten your custom unlock pattern, then don't panic.
After 5 unsuccessful tries a button should appear saying 'Forgot pattern'. Press this and you will be asked to enter your Gmail username/password.
The phone will then ask for a new unlock pattern. If you don't have a Gmail account, then you might have to either call your carrier or factory reset your phone.