How to unlock my iphone? Dont know the password?

So then i had to restore it. Which took 5 hours to load. I had to do all that cause my i accidentally changed my password and i have no idea what it was. But then after waiting 5 hrs, my phone is still locked.idk what to do! I tried a few passwords but nothing works! Someone please help me! Im so nervous cause i just got it about a week ago!

You have to restore your device. Sorry but it's the only way. P. S make it as new iPhone device and login with same apple account.

Restore via itunes is your only option.

Hard reset your iphone.