Why does my stepper motor vibrate and not rotate properly?

My stepper motors aren't working properly; they rotate strangely and vibrate loudly. I have three different ones (20 Ncm, 45 Ncm, 59 Ncm). The first two vibrate strangely and don't rotate properly. Sometimes they rotate in the wrong direction, stop, or continue, or do nothing and just vibrate. The 59 Ncm motor works perfectly, however,…