That’s not a lot of info to go on but if the tractor has been setting, unused for some time, I’d guess rust is the issue. Get a good penetrating fluid and lubricate all pivot points on the linkage and especially where the shaft enters the housing. Keep working the pedal and repeating the penetrant process, hopefully it will free up.