How did you find the time to take months off while holding on to your work career?

How about people who are in the twentys and beginning to start there careers?