Your shower mixing valve likely needs replacing, or some other part of the shower system or plumbing needs repair or replacement. This issue may not be connected to your water heater.