My speedo just flipped out today

Actually when my speedo did the wacky thing at speeds above 30 mph it ended up being the speedo cable. At speed the needle wasn't moving very smoothly and the cable was all wound up causingg the problem.