Whirlpool agitator turning one direction during wash cycle

The agitator in my whirlpool washer only turns one direction durning the wash cycle. This is causing the clothes to wrap around the agitator. Once this happens, there is a clicking or scrubbing sound and if it is allowed to continue a burning smell starts.

I hope someone can help me.

Thanks