Thanks for asking the Apple Support Communities for help resetting your password. This help article will assist you and states: Change or reset the password of a macOS user account
If you don't remember your password, or it isn't working, you might be able to reset it using one of the methods described below. But first try these simpler solutions:
As there are a few options provided, please review the entire article. Thanks and have a great day.