According to this, the way to have a good relationship with someone is to have five (at least) or more positive interactions with someone for every one negative interaction: Use the Magic 5:1 Ratio to Improve All Your Relationships | Inc.com.
While the focus for that study was on spouse or partner relationships, I think it is likely a good rule to follow for any relationships you have with people. That goes for people at work. Think about the people you work with: how often do you have positive (vs neutral) interactions with them? If it is infrequent, consider increasing that. Especially if you are a leader. If you are a leader and you find the only time you interact with people is to criticize their work, you likely have many unhappy people under you.
Think about when you interact with your people and be conscious about making more of your interactions positive. After time you will find you have a better relationship with others, and that will lead to other benefits too.
(Photo by Ralph Hutter on Unsplash)