We all come across this from time to time. Sometimes it is intentional, sometimes we are forced into it. We all have our preferred ways of dealing with it.
The best analysis I have found is the Thomas Kilman analysis. They establish 5 methods of dealing with Conflict as follows competing, getting what you want at all costs.
Collaborating, understanding both sides and reaching a mutually beneficial conclusion.
Compromising, applying a quick fix, but maybe leaving both sides in a lest preferred position.
Avoidance, working round the issue.
Accommodating, giving in for a quiet life.
One, or a mixture of the above, will work dependant on circumstances. Be prepared for conflict and be prepared to adopt or adapt accordingly.