Troubleshooting speedometer

I have a 2000 yamaha outboard and the speedometer/odometer quit working. It occasionally will read 7-8 mph when at 30+ mph and the odometer will record but underestimate distance traveled as well. At other times it will just be a dash on the screen. Any suggestions?, thanks.

If is the standard speedo that works off a pitot tube, it is probably clogged. Run a stiff piece of wire up it.

My pickup cracked where the water pushes into it. Acted really strange. Might want to check it real good.

1720 KW 110 Johnson
16’ Bonito 65 Johnson

the front edge of the lower unit has a tiny hole.
thats where the speedo pick up is on a yamaha
it gets clogged
you can clean it out with a tiny drill bit turning it by hand, no drill