How do you do it? One word = PLANNING. Check out this infographic put together from Pew Research.
[click to enlarge]