Dishwasher running loudly; and seems to stay on one cycle

For the last week and a half our Kitchen Aid dishwasher has sounded louder than usual and appears to get to the rinse cycle and will not stop. Basically it will not advance to the next cycle and just keeps rinsing the dishes. Any ideas what could be the cause of this? Thanks for your help.