This might not be the problem with your window, but the window switch on the driver's side can break in such a way that the least bit of downward force can start it moving downward (like it does normally) but when you release the switch, the switch does not pop back up enough to actually turn off. With the switch still on, the window motor stays on after the window reaches the bottom of the door. After it has been on long enough, the resettable thermal circuit breaker inside the motor trips. It will keep the motor shut off until it cools enough to connect again. The motor will come on because the switch on the dash is still closed, the motor will not move because the window is already down, get hot again, rinse and repeat.
If you push the switch up to close the window, nothing will happen if you happen to push it up while the thermal breaker is still closed. In that case you can hold it up and wait for the thermal breaker to reset, and the window should go back up.
Once you lift the window switch up, and release, it will tend to stay in the off position until you press it down again.
Those of us with this problem learn to lift the switch after rolling the window down, or stop the window before it rolls down all the way, in which case the switch will be off and the thermal breaker will not flip.
Sometimes the motors do burn out or the brushes wear out. Then it is a different problem.