How to live free from politics at work place?

If you are not vulnerable to gossip, office politics will not affect you. It bothers you only when you are at that level. Rise above it and focus on your work and contribution. The best of people were unconcerned with others opinions.