With a permanent residence permit or permanent right to reside in Norway, you can stay and work in Norway indefinitely. This also gives you added protection against expulsion.
If you are uncertain whether you registered yourself or have a residence permit, please check the letter which you received from UDI or the police. You have either received a registration certificate or a decision letter granting you a residence permit.