Health insurance and pension

After finishing my previous job and while waiting for my new work visa, I was informed that I need to apply for new health insurance and pension at the city hall in order to remain covered and prevent any lapses in my records. Do I need to do this immediately?

Do I also need to report to the immigration about my last day from my previous work?

by Glass-Finding4214