When there is no sun, simply drain the water, remove the damaged one and connect the new hose. Be careful to put a little soapy water on your head to make insertion easier.
Do not go up when the sun shines for the first time (it is better in the morning), because there is no water in the new pipe and the temperature inside will be very high due to the sun and cold water can break the solar pipe