ceiling fan will not change speeds.

Sounds like the selector switch is bad. You can get a replacment at the local big box or most well stocked hardware stores. Make sure your connections are solid when replacing; the little wire nuts used from the factory of usually pretty trashy.
BE SURE TO TURN OFF CIRCUIT FAN IS ON.