Ensure that the hot and cold lines are not inverted. Ensure that the drain hose elbow is at the height specified by the manual. If height is incorrect you may get water from drain back into the tub. Ensure that the detergent drawer is opening and that the detergent is being released. If water is too cold, the thermostat may be defective. If the appliance is new it would be quite unusual.