Rising accident with a friend…what to do?

Hello, I’ve had an accident today. I stopped at the traffic lights so that my friend will not be lost, but he got completely into the slide during the wet weather, so that he drove in the back at about 40 km/h. With me it has become two bumps and thick scratches, with him the front pressed in and the bonnet went a little high. The damage is higher with him. He told me that we will call again later. How best to proceed ? What should be considered ?