Sean Spicer took the extreme route.

The White House press secretary resigned today in objection to his boss, President Donald Trump, appointing financier Anthony Scaramucci as the new White House communications director. Spicer had been filling in as communications director after the previous incumbent resigned, but President Trump had reportedly long been considering his removal. Now, Spicer is reportedly leaving because he doesn’t believe Scaramucci, an investor and former Fox Business Network host is up to the task.

However management experts caution against taking the SNL favorite’s route, even if you had a new boss or close peer that you don’t think is qualified for the job. Instead, there are numerous steps you can take to keep your workplace sanity and your job. “The best thing you can do is to offer the new person your support,” says Howard Fox, a Chicago-based careers coach. He recommends sitting down with person you’re unhappy with and explaining how you do your job and why it brings benefits to your organization.

Then, offer to help them settle in (Spicer says he’ll help Scaramucci during his transition in.) “The hope is that the other guy has humility and is scared about what he doesn’t know,” says Fox.

While the whole world now knows that Spicer doesn’t think Scaramucci is fit for his new role, it’s not a good idea for it to be publicly known that you don’t think your new boss is qualified. That just makes you a rumor monger. “You’re at risk of losing your credibility while trying to undermine their position,” says Fox.

The rules however, differ if it’s a co-worker you’re not happy with, though you should give the person some time too. It’s then OK to approach your boss and gently mention that the newbie might be struggling and that it’s affecting your work. That said, it’s wise to couch it as though you’re asking for your manager’s advice in solving a problem, instead of critiquing the person directly.

Also readDonald Trump may have made a very public mistake. What to do if your boss does the same

Even if all fails and you do decide to spice up your resume for a new job, it’s still wise not to burn bridges. When asked by a potential new employer why you quit your job, Fox recommends saying that your previous company went in a different direction and that you’re looking for something that better meets your values “You should talk about how the new opportunities are aligned with your passions,” he says. “Anything else should be between you and your spouse.”