Do you use just vinegar or do you also use soap?
Discussion
Both. I have a small container that sits in the bottom rack, the vinegar goes there. Avoid the detergent tabs too, powder is better. You want soap for the prewash to be more effective, with tabs that doesn't happen.

You want soap in both parts.
Here's a video all about dishwashers
He also has a more recent one for a good powder detergent to use.