Maytag dishwasher

my dishwasher will start fill up with water start the wahs cycle then turns it self off, then starts back to washing agian and then turns off and everything clears oon the door ********, I am wondering if its in the door or something else? any advice woulb be helpful we would really like to fix it ourselves, our washer is about 5 yrs old

I have a dishwasher model number mdb7600aww that will now drain.
I disconnected the drain pipe from under neath it that goes into the drain pump and the water came out. Is my drain pump shot or could there be something blocking that and it might still be working?