If hand soap is used in the dishwasher, it is best to stop the dishwasher immediately, allow the water to drain and remove the dishes, according to Good Housekeeping. Pouring table salt over the suds is recommended to break up the foam, followed by running a rinse-only cycle.
If suds remain in the dishwasher, add more salt and repeat the rinse cycle until the foam dissipates. Place ice cubes on the remaining suds and allow them to melt. Drain the dishwasher of water and follow this step with running a rinse-only cycle. It is best to repeat the ice and rinsing sequence until no suds remain.