What year make and model vehicle is this?
The problem is the gear that turns the odometer has stripped. this is common problem.
I have not replaced on a ranger but have done a couple on the mustangs. It can be replaced yourself if you have some patience and mechanical skills. there are a couple of youtube videos on the process.