Summary

Yosef Karo Translation:Shulchan Aruch — Orach Chaim 608…

We say that it is better for people to sin ignorantly than to sin willfully. This applies specifically to something that is not explicitly in the Torah even if it is Torah-sourced, but if it is explicit in the Torah, we stop them (Ra"n chapter 4 of Beitzah and Ros"h in the name of the Itur) . If one knows that his words will not be listened to, he should say them in public only once, not frequently rebuking people, since he knows that they will not listen.
Source: Wikisource

Yosef Karo Translation:Shulchan Aruch — Orach Chaim 608…

However, in private, one is obligated to rebuke until [the rebuked] hits or curses him (Ra"n the end of the chapter "Haba al yevamto") .
סעיף ב
נשים שאוכלות ושותות עד שחשכה והן אינן יודעות שמצוה להוסיף מחול על הקודש אין ממחין בידם כדי שלא יבואו לעשות בזדון: הגה והוא הדין בכל דבר איסור אמרינן מוטב שיהיו שוגגין ולא יהיו מזידין ודוקא שאינו מפורש בתורה אע"פ שהוא דאורייתא אבל אם מפורש בתורה מוחין בידו (ר"ן פרק ד' דביצה והרא"ש בשם העיטור) .
Source: Wikisource

Get perspective with Kwize: daily news enlightened by great literature