In case you have not used your MetaMask wallet for a long now, then there are high chances that you might have forgotten the metamask login with password. But, you can easily regain access to your account or wallet either by resetting the password or by importing your wallet. But, in both cases, you will need to have access to your secret recovery phrase.
Resetting the password through the extension
On the Metamask sign in screen, click on the account icon to open the drop-down menu to lock the wallet
To lock the wallet, you need to select the "Lock" from the given drop-down
When on the next screen, click the "Forgot password" option
Now, you need to type the secret recovery phrase in the provided boxes
Be careful while entering these words and then you can enter a new password
Next up, you can type a new password in the given space and click "restore"
Make sure that you memorize this new password, otherwise, you would need to undergo the password reset process again and again. If you are using Metamask chrome on your mobile, then you can apply the steps that are given below specifically made available for mobile phone users.