The best way to get along with other people is to put yourself in their shoes. What are the challenges they have to deal with? What parts of their jobs are difficult? Then try to do your job so that you ease the burdens on them as much as you can. This works in personal situations, too.