For many riders the hairpin is the final boss on a pass. The most common mistake: your eyes stick to the front wheel. Turn your head clearly towards the exit instead, and the bike follows your gaze.
A few things help. Slow down early, before the hairpin and not in it. Look over your shoulder to the exit. And breathe out once deliberately, which releases tension in your arms and shoulders.
Riding technique is best practised on a recognised rider safety course. If hairpins block you mentally, that is a case for the Focus Session.