@Anna And it should have told you how to fix that.
Please commit your changes or stash them before you switch branches.
Either commit your changes, stash them for later, or throw out the changes.