Starting at 7th level, you can use your action to end one effect on yourself that is causing you to be charmed or frightened.
7