If your speedo is working then the internal drive gear is free spinning on the number shaft. There are descriptions in the archives for repair techniques including pictures.
Basically one must remove the cluster, remove the speedo from the cluster and do various disassemble techniques depending how you decide to fix it.
Bosch Master, ASE Master, L1
33 years MB technician