Very informative. Not
"Machine" What machine? Make? Model?
"will not work onspin cycle" Does the progranmmer step onto the spin cycle? Is there anything from the machine? Inidicator lights? Filling activity? Smoke?
You are doing next to nothing to help yourself and absolutely nothing to help us help you.
Can one suggest you find out the make and model then do a Google search for "make model not spining" - replacing make and model with your own.
X, June 2015