Can you break cell phone code?

I can't remember my pass code to get into my cell. What can I do? Where I purchased the phone they could not do anything for me. If I enter too many times the phone will completely lock down and I'm out of a new phone.