The simple answer is to get your certification as soon as you qualify. Thus, as a new or junior project manager, you may secure the CAPM certification as early as you want. As an experienced project manager, you need at least three years of experience leading and directing projects to qualify for PMP certification.
Everyone’s experience varies but most PMP certification students take about 30 days to complete their certification. Overall, about 60-80 hours of class, study, and practice exams.