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
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.