There can be many reasons for a fan motor failure like:
Voltage issue
Resistant mechanism (loss of lubrication)
Damaged capacitor
Dripping water in the windings
Clogged air filters
Tripped circuit breaker
Addressing the above issues can help in fixing the faulty fan motor. Some irreversible damages cannot be repaired and need a fan motor replacement.