I can't remember my password and I need to restore my Iphone?

, i can't remember my password for my iPhone and I've never synced it to my computer before. My phone right now says that I have to connect it to iTunes but when I do it says that I can't restart it because my phone was a passcode. Now how am I supposed to put in the passcode if the reason I can't use it is because I DON't KNOW MY PASSCODE! That's the reason I'm there. So I can't sync my iPhone and I can't reboot it and I have no idea what to do. I'm stressing out because it has very important information and things I need.

Youtube or apple store

All you have to do is plug It up to your computer or lap top and it will ask you all these questions and it will give you the option to change the password.

You can restore your password by using the computer where you last synced your iphone. Doing so allows you to resync the data from the device or restore the info from a backup. If in case you are not using the same pc where you synced your iphone, you can unlock the device for use and remove the passcode, however, please note that your data will not be available.