Obtaining a work visa can require a lot of time and it can vary from country to country.
In Germany, this is basic idea on how to get a work permit.
Get a work contract
Prepare the required documents - Travel Health Insurance, a place where you can stay, etc
Obtain an appointment at your local German Consulate or Embassy and submit the visa application