Kenmore washer doesnt rinse or spin

My washer agitates but it doesnt rinse or spin afterwards. The water doesnt get drained after agitate cycle. What part(s) do I need to fix this problem?
Any help is appreciated.

Thanks.

You have the classic symptoms of a lid switch problem.

This video will show you how to check it out.

http://www.youtube.com/watch?v=MFsvLiuTniU