To earn respect, which quite often is resist taking credit. You want to avoid gossiping about other people. For example.
And then what do you want to exude as a professional at work, which can be things you would expect you want to exude professionalism, mastery, transparency, authenticity. Boiling it down and asking yourself and making your own list.
What do I want to give.
What do I want to resist.
What do I want to exude?
Follow those like their principles and values you live by. Keep that framework in front of you. And I can guarantee you I've been teaching it for decades. It is proven to increase the level of respect that you earn at work.