Both. Cold water after hard exercise eases soreness for a day or two, but used routinely after strength training it slows muscle growth. Endurance training gains look unaffected.