Fixing these things is a bit like clock repair. IF you are ready to scrap the old one and buy new, first carefully take it apart. The problem is most likely a gear with a tooth worn down so much that it no longer engages the other gear it is supposed to mesh with. Sometimes you can repair by building up the worn tooth (I’ve used epoxy or JB Weld) and by using jewelers files, make a new tooth. I’ve done it many times this way. What caused the problem is dirt or lack of lubrication on the odometer assembly. If you have some mechanical skills, good eyes and light, and steady hands, I’d bet you could fix it yourself.