what if i get a work permit from usa then apply?
You mean get a US work permit or a Canadian work permit? If you mean the US, how are you going to get a valid US work permit if you are out of status? If you're asking about a Canadian work permit, there is zero chance you'll be able to get one. First of all, you need a job offer and approved LMIA from a Canadian employer - this is next to impossible to get. Secondly, even if you had the job offer & approved LMIA, the work permit to Canada will be refused because you are out of status in the US.