Do you have the latest version of the New Teams application installed on your computer?
https://www.microsoft.com/en-us/microsoft-teams/download-app
The version which you have used 5 years ago might be the Classic Teams application, which is now deactivated.
You can also try to sign in with your Microsoft account to Teams for Web application using your browser.