If you have forgotten the passcode to your iPhone, the only thing you can do is to restore the device. Now, if it's a problem with you iCloud password, just reset it by going to appleid.apple.com
check with them
What's the issue specifically? Are you talking about your iCloud Account?
Thanks! Your answer is awaiting moderation.