1996 Sentra gxe

The check engine light is on becasue of a problem with the speedometer. Can this be fixed by a home mechanic? Has anyone out ther done this? Do I need a new (junkyard)dash?

Post the code(s). (It will be in the form of a letter with 4 numbers, like P0123)

More than likely going to be a problem with the speed sensor. It’s not that major a deal.