If you accidentally share the wrong screen in teams, simply click on the 'stop sharing' button and then start sharing the correct screen. Alternatively, you can also pause the sharing and switch to a different screen.