How do you have a child with a smooth, flawless skin?

No such thing. I'm afraid everyone has some "imperfections" in their skin. And there's nothing you can do to influence how a baby's skin will develop. Sorry.
Good skin. Because of their protective environment while in utreo and no exposure to the sun.