Proper Suits for the temperature is important. Sudden changes of course impact you more, especially if you do not expect.
I think a hood is most important, because thats protecting the zone where you are breathing.
You could take a few cold showers or like change the temperature to train your breathing. So it is also experience. I try to do a few breaths into the belly to get used to the temperature, which helps me to accomodate. The larger the temperature drop the harder it is.
In the end if you feel uncomfortable you need to ascend, period.
Fun fact: yesterday I had been at around 20 to 25m with 8°C and my semidry. After like 15-20min I started to freeze, but that was ok.
However from time to time, when I get a massage (medical background ... not for "joy") in a warm room, I am so relaxed that even under the towel I am freezing and my body starts to shake.
I wear a motorcycle neopren belt under my suit, so me belly stays warmer longer and is not touched by cold water immediately. As well is a rash guard helping in that sense. Additonally I wear a shorty over my regular suit "ice vest". One has the zipper on the front, the other on the back. So I minimize the direct water exchange and I do not feel a huge amount of cold water instantly.