It could be the resistor if it’s a 0-4 dial? Or the speed controller if it’s a climate control type
Easy to test by shorting out the plug for the resistor and effectively putting the fan on full speed, generally pick the biggest 2 wires and short them out while the engines running, fan should...