If you have the position of authority in your community, the first thing you should do is surround yourself with rigtheous people.
When Umar bin Abdil Aziz became the khalifah, the first thing he did was fired all the people and he appointed few rigtheous slaves of Allah. And they would go to his house and he would tell them do not talk to me about anything except the hereafter, and they would stay at his house all night long untill fajr. He also hired Umar bin Muahajar and he told him when you see me doing something wrong hold me and shake me and tell me,
" fear Allah Ya Omar indeed you will die!!!"