If you want to leave a team you must enter the "Teams" section and, once there, press the option "about the team" located at the top of the screen. When you do this, a new screen will be displayed in which you must select the option "Leave team" that you will see in a red box.