Bought a new house and the Whirlpool dishwasher is not washing dishes. What should I do?

I used the sensory cycle twice and it still leaves detergent. Also all the dishes are dirty. What is going on!

I used the sensory cycle twice and it still leaves detergent. Also all the dishes are dirty. What is going on!