Hello,
Are you currently on a standard user (without admin right)? If so, does the computer have another admin user?
Also, do you know if this admin user is associated with a Microsoft account? If so, you can reset it via https://account.live.com and use the forgot password option.
If it is a local user, you need to use another admin user to reset it. If you have access to another admin, log into that, then hold down Windows +R keys, type in netplwiz and press enter. Select the admin you want to reset password for, then click on reset password.
If you don't have another admin user to help, and it is a local user, then on the Windows log in page, use forget password, you will need to answer the security questions if they have ever been set up, or use a password recovery USB if you have made one prior to this.
Otherwise, there's no other way around this. You will need to clean install Windows in that case. But make sure you backup data first.