To step back / To distance oneself / To gain perspective
Describes stepping back from a situation — physically or emotionally — to see it more clearly or to protect oneself.
I need to step back to see the problem more clearly.
She distanced herself from the situation to avoid getting emotionally involved.
—How do you handle it? —By stepping back when it affects me too much.