It's all about parenting. You raise your children well enuff to withstand ignorance even when you aren't there.
Exposure is also key. Keep young minds busy and make your children cultivate hobbies. A lot of those chicks ain't got nothing to do but what you see them doing...
Also frank and open honesty. This is where a lot of parents fail their children. You cannot pull any punches when dealing with kids. You can't be afraid to have discourse about ANYTHING with ur children.
I appreciate my parents the most for being able to talk about anything with them. Hell u could have a conversation about dildos at the dinner table and nobody would blink and eye in my family. We're too practical about life to sit around being hush mouth about shyt. Children need to hear the untarnished truth about life from you, before they get lies from someone else.