You get a work permit from the labor office NOT from immigration.
A work permit allows you to work, got nothing to do with permission to stay in the country.
To stay in the country you need a visa. This visa needs to be extended before it expires, you do this at immigration.
I don't know what degree you have but you need to read up on the rules to legally stay in the country.