Constantly learn more. Re-evaluate your knowledge in the light of new facts. Find the places where pieces don't fit and investigate further. This is the only sane and rational policy on knowledge one can have for them-self.
Heck even when teaching someone "correct" things, it is impossible to avoid this. There have to be abstractions and almost-but-not-quite generalizations. There is so much knowledge in the world that you have to build a general foundation to bootstrap better understanding. People are pattern machines, so patterns need to be presented, for easier consumption, then revised later.
It helps that I am a developer - analytical and algorithmic thinking is a great start point. Learning some statistics helps - you can see through a lot of nonsense if you can get at the source data.