There are ways to clean dishwashers. I think they make a cleaner now. Some say you can use lemon Kool Aid to clean it. Check with the manufacturer.

Does you tap water have a smell? Is it normal?

If it is not a dishwasher thing or a water thing, then you may want to consider help if you have not done so already. Sometimes things not being clean enough can be a sign of needing treatment. HUGS