a lot of phones have a defalt code of "0000". If its brand new then that should work. But if you didnt get it brand new then someone might of already changed it to there own. In that case you could do a master reset, but doing that you will lose all of your info and numbers you have on your phone.
good luck