First and foremost, it totally depends on the wallet. Secondly, if you cannot remember your password to the wallet, then you will either need a recovery seed which was given to you back then or your private key. Lastly, if there is no way you can get any of the second option, then forget your wallet ...