Select the ellipsis (...) next to your initials or profile picture at the top of the app. Select Settings and choose General. Select or clear Auto-start Teams and close the panel.