Sometimes you break from the boss.

UN Ambassador Nikki Haley said Sunday that the women who’ve accused President Trump of sexual misconduct “should be heard” — a striking split from the White House’s longstanding stance that all of those women were lying.

“Women who accuse anyone should be heard,” the former South Carolina governor told CBS’s “Face the Nation.” “They should be heard and they should be dealt with. And I think we heard from them prior to the election. And I think any woman who has felt violated or felt mistreated in any way, they have every right to speak up.”

Allegations from a dozen-plus women claiming Trump sexually harassed or assaulted them have resurfaced recently amid a national reckoning with sexual misconduct. Press Secretary Sarah Huckabee Sanders, asked in mid-November about the allegations, sought to dismiss them. “Look, I think that this was covered pretty extensively during the campaign. We addressed that then,” she said. “The American people, I think, spoke very loud and clear when they elected this President.”

Considering 82% of people don’t trust their boss to tell the truth, Haley is not the first person in her position. In May, CBS Evening News Anchor Scott Pelley was reportedly forced out over disagreements with CBS’ chairman over his contract and salary. And software engineer James Damore got canned by Google in August after complaining in a memo about the diversity training he was required to receive by his supervisors. According to Business Insider, complaining about your boss on social media, refusing to follow directions and gossiping about your boss are all among the behaviors most likely to get you fired.

If you disagree with your boss, whether or not to confront them comes down to your relationship, says Laura MacLeod, founder and CEO of From the Inside Out Project. “If you are respected and there is trust, disagreement should not be a problem if handled judiciously,” she said. “But if you’re on shaky ground or your boss is a tyrant … don’t bother.”

And be sure to pick your battles — not all disagreements are worth ruffling your boss’s feathers. “A big project decision or policy that might hinder your work or team progress, definitely worth it,” MacLeod said. “Where you can go to lunch or if Casual Friday will be canceled, maybe not.”

If you decide to confront your boss with your disagreement, make sure to follow these rules:

Do it in private. Your boss is much less likely to listen and compromise in front of their colleagues or superiors. “They may push back hard just to show they’re in control,” said Nicole Wood, co-founder and CEO of Ama la Vida Coaching. “It’s best to discuss it one-on-one.”

Know where they’re coming from. Thinking through why your boss arrived at their decision or mind frame will help you arrive at a consensus. “If you understand someone’s thought process, you can better help them reframe and understand your own,” says Foram Sheth, co-founder and coach at Ama la Vida. Your boss is also more likely to try to understand your viewpoint if it’s clear you took the time to understand theirs. There’s certainly a reason your boss does what they do — give them credit where credit’s due.

Compliment them. Everyone loves a compliment, and your boss is probably no exception. “I can see why you think X is the way to go. It’s a sound, proven strategy. But I’m wondering if we might try Z,” is the line MacLeod suggests. They’re more likely to support you if you’re building off their idea, rather than contradicting it.

Present an outcomes-based case. “You and your manager are on the same team,” says Tim Toterhi, founder and executive coach of Plotline Leadership. “Offer a suggestion that will help you both win.” Show your boss why your idea can benefit the company. Wood suggests presenting hard numbers if you can: “Show that your perspective is rooted in data and not driven by emotion.”

Know when to back down. “Your boss may disagree,” warns Wood, “and you should be prepared to receive that feedback with humility, and step down if the conversation is no longer progressing.”

This article was updated Dec. 11, 2017, following Haley’s comments about the President’s sexual misconduct accusers.