One of the best ways to get along with your co-workers is to build trust with them. When you say you are going to do something make sure you follow through with it . If for some reason you are unable to let the co-worker know why you were not able to fullfill your commitment and inform them when you will be able to do it.
Have direct communication with your fellow staff. Avoid triangulation where you go to someone else to tell them about something you should be sharing with some one else. This only builds resentment and causes breakdown in communications.
Be accountable to others. Make sure you are responsible for your actions. Do not get into the blame game. It will make others wonder what you say about them when they are not around.
Be loyal to those who are not present. When you see others gossiping or spreading malicious rumors about fellow co-workers tell them to stop and if they don’t let them know that you will not participate in that kind of negative interaction. Say I am not available for that.
Give support to fellow co-workers who may be having a tough day or time. Let them know you are there to listen to their concerns or to assist them with a task if you are in a position to do so. This will be greatly appreciated and it builds positive karma in the work environment.
Give positive praise whenever you can to your co-workers. Make sure it is from the heart. In many organizations praise is not the norm and the more you can do it the more it will endear you with the other members of your team.