Figure out how much money you need to retire and then plan your investments accordingly. It's not exactly that simple, but that's the key to building your nest egg.