Encountering resistance is a common experience for anyone who strives to share goodness with others. The key is to remain patient, gentle, and wise in one's approach.
If some colleagues are receptive while others are not, the right course of action is to continue benefiting those who are willing to learn, without ceasing to do good.
When faced with envy or hostility, the appropriate response for someone teaching good is patience and overlooking others' shortcomings. Allah describes His devoted servants: "The servants of the Most Merciful walk upon the earth with humility, and when the ignorant address them harshly, they respond with words of peace." [al-Furqaan 25:63]
Meeting mistreatment with kindness can transform hearts and frustrate the influence of Shaytan in sowing discord among people.
However, if everyone categorically refuses to accept guidance, it is wise not to impose it upon them. Forcing knowledge on unwilling recipients rarely produces benefit; instead, it often leads to deeper stubbornness.
Shaykh Ibn 'Uthaymin (may Allah have mercy on him) explained that wisdom in dawah means doing what is fitting at the right time, with the right words, for the right audience. In certain situations and with certain people, it may not be appropriate to deliver exhortations — one should wait for a time when others are receptive. [Sharh Riyaadh as-Saaliheen, 4/73]
If your immediate circle does not wish to learn from you, seek out others who are eager for knowledge and ready to benefit.