washer won't spin

I am having a problem with my washer…at the end of the cycle my clothes are still sopping wet…the washer is spinning but at a much slower than normal speed…it seems if I put in a medium load and then re-spin at the small load setting, sometimes it will spin out…and sometimes it doesn’t…any suggestions?