This will depend on the country and the type of work visa you have. In some cases, obtaining a work visa may be a pathway to permanent residency, while in other cases, it may not be possible to transition to permanent residency.