Wiring new ceiling fan/light
If the fan doesn't have a pull string to control the speed, you can replace the switch on the wall with a fan speed control.  This is just like a dimmer switch, but the electronics are slightly different to work with a fan motor rather than a light bulb.