Keep an open mind
You should keep an open mind when dealing with a difficult coworker, as there is a chance that you are failing to understand his point of view and that is what is causing the trouble. If you have particular trouble while communicating with a specific colleague, try bringing in a third party to make sure that you do no misinterpret anything that is said by him or you.
Imagine yourself in his shoes
Before you take any major step that could alter the fate of the fellow employee, imagine yourself in his shoes at least once. There might be some personal problems that are leading the coworker to behave in a difficult manner. Try to be reasonable and do not take any action that might end up permanently damaging his career.
Keep it to yourself
If you are having trouble with a coworker it is best to keep it to yourself. If you whine about it to any of your other colleagues, there is a high probability that it will be circulated throughout the office and sooner or later the person you are having trouble with will hear what you have said about him.
Do not retaliate
If a difficult coworker is badmouthing you, do not retaliate under any circumstances. This will get you involved in petty politics and lead the managers to believe that you are unprofessional who cannot deal with a little criticism. So keep in mind, whatever your colleagues might be saying about you must keep your cool at all times.
Talk to the boss
After you have tried everything else, talk to your boss about the difficult coworker as a last resort. Make sure that it does not appear as if you are making baseless accusations or just whining about petty things. Articulate the things that are creating difficulties for you and suggest how they can be minimized. Do not badmouth your colleague as it will lead the boss to conclude that you have some personal vendetta against the coworker. Never under any circumstances suggest to the boss that he should lay off the coworker as it can be the worst thing that you do not only for the colleague but also for yourself. By doing so, you will end up losing respectability in the eyes of the boss.
Final
Having a healthy and positive attitude at work is essential if you wish to be productive and give the maximum possible output. If you have a colleague who disrupts the smooth flow of work and is creating unnecessary problems for you, then it is best that you tackle the problem rather than letting your work suffer. however, if the difficult coworker is not interfering with your work then it is best to simply avoid and ignore him as much as possible and focus all your energies at work.
Concluded