Office politics can have a positive or negative effect on your career; this depends on the way you deal with it. Here are some tips on how to survive office politics and use the power of politics to your advantage.
Understand the people you are working with. Get to know what motivates and inspire them, listen to them. If you understand people, it will be easier for you to deal with them.
Be liked, when you are liked, people are less inclined to battle you when politics starts and it involves you or your work. Do your possible best not to make enemies. If you get along with people, it is easier for people to have confidence in you and support you.
Be diplomatic, know when, where and how to speak. No matter how frustrated or irritated you become keep it professional at all times.