A. If you find yourself in a team you do not want to be a part of, try to engage with the team minimally. Focus on playing solo and ignore team activities until you can find a way to leave or until the team disbands.
B. Look for any in-game options that allow you to change teams or leave. Sometimes, there may be hidden settings or options in the team menu that are not immediately obvious.