You can apply for a post-graduation work permit (PGWP) from inside Canada as long as youre eligible. You have up to 180 days to apply for a PGWP after you get your degree or diploma. Global Grid helps you in this with best consultancy.
https://www.globalgrid.ca/work-permits/post-graduation-work-permit-program-pgwpp/