Whirpool Duet sport f-28 and f-33

I need some help figuring what parts to replace. The washer was in the middle of a cycle and tripped the breaker. I reset the breaker and the washer wouldnt do anything. the door wouldnt open and the washer had water in it. I unlatched the door from the bottom panel and took the wet clothes out. I drained down the washer and cleaned out the filter. then I ran a diagnostic test and got error codes f-28 and f-33. I tried running another cycle and the first time it filled with water and did nothing else. I drained it again and tried the same thing and nothing happened. Anyone know whats going on?