Maytag washer will not dispense warm or hot water

Our washer will only dispense cold water. What do we need to fix the problem?