2000 Pontiac Grand Prix Blower Motor

2000 Pontiac Grand Prix, cabin fan only blows at max speed and is inconsistent (it won’t always start but when it does it will stay on until I shut the car off). When I turn the fan control to max the headlights come on. The heat and air conditioning work. The rear defroster does not work.