Pull the cover off and make sure the star is on tight, shift shaft and springs is in place and not broken, bent or worn out. Check the detent arm, also check the eccentric screw that its adjusted right and still there.
If all checks out, well then pop open case open and have a peek at the drum, gear clusters, shift forks and shafts.