I have an iPhone 6 and forgot my passcode!
If you have forgotten your passcode, the only option available to you is to erase your iPhone and start again. Unfortunately, if you haven't got a backup of your data, this will mean you will lose any data you haven't already got saved somewhere. However, on the positive side, any purchases (free and paid) using your Apple ID will still be intact as you can sign in again and redownload them.
While the only option is to erase your iPhone, you do have multiple methods of doing so. I recommend you read If you forgot the passcode for your iPhone, iPad, or iPod touch, or your device is disabled.
The above Apple support document will explain your options, including how to restore any data you do have backed up.