Fan only works sometimes on 2006 Toyota Matrix

The fan for my heat/AC only works sometimes. Any suggestions on the problem?

Asked by for the 2006 Toyota Matrix
You may have a problem with the heater blower resistor. This can cause intermittent loss of certain fan speeds or fan operation altogether.