Well it depends on a lot of factors. Your job experience matters, language skills. If you have a masters, 3 years of work experience and can get CLB 8-9 IELTS score it is better to apply directly for PR. Otherwise getting a student visa and getting Canadian experience if you can is another road...