Correcting people

I was pondering the ethics and dharmic skillfulness of correcting people. In the past, I would have no problem correcting people that I thought were wrong; either they would become more knowledgeable, or I would be corrected by them and be less ignorant. However, speaking from experience, people really hate being corrected, and sometimes it's impossible to change anyone's mind even when the evidence they are wrong is written plainly on the wall. Also, I considered what if I was wrong to begin with? By correcting someone with my wrong view, I would be spreading ignorance. I also considered that the topic of discussion may matter, too; it may be more or less acceptable to correct people depending on if we're discussing politics vs directions to the nearest gas station vs religion (especially the four noble truths) vs parenting etc.

What is the best way to approach correcting people? Is the intention behind it what matters? Are some topics off-limits? Or maybe staying quiet and letting people live their life is best. I don't want to let people live with wrong information, but what are the karmic consequences of advising people? Perhaps they are too great to bother.