The key is just to try and do the best you can. Try not to worry too much about what other people are doing.
Your parents were likely just as imperfect and ignorant as you are, albeit in their own ways. If they were able to get you to a point where you've got these kinds of concerns doing it yourself, you've probably turned out ok, and your kids will too.