The sensor will be either an optical one near the motor flywheel or actually built into the end of the motor. If it's an optical one they can be replaced with one from an electrnics company like RS or Maplin. The sensor usually only has two wires.
Check that it isn't just clogged with dust first though.
Karl - Fitness Options Ltd, August 2007