That's really limited information. Usually a login issues is going to be something the school needs to work out since there really isn't much to it at that point. You can try logging into the web via teams.microsoft.com since you can use the browser to access as well, but if that doesn't work either sounds like you have account issues.