"I forgot my apple password for my apple mac how can i reset?"
When you ask about something (car, computer, camera) tell exactly what it is. My answer is for user login password MacBook Pro 2013 running OS X version 10.11.6.
– Restart while holding command and R keys for 45 seconds.
– Click on the “Utilities” menu and select “Terminal”.
– Press Return.
– Select the "Macintosh HD" or whatever is the startup drive.
– Select the account.
– Enter a new password.
– Quit and restart.
For forgotten Apple ID password, which is not for logging in to the system but for using the iTunes Store, the App Store, or iCloud, click the link below.
You'd need that password.
How can you forget that password? Sounds like you're trying to access someone else's stuff.
Which Apple Mac do you have and which version of macOS do you have?
read the link