Have you arrived in Denmark as a refugee?
As a refugee, you must have a permit of residence, before you can apply for your authorisation to work as a doctor.
You can seek asylum and residence through the Danish Immigration Service. For further information see nyidanmark.dk