There are a couple of ways, the basic one is this node:
https://docs.blender.org/manual/en/latest/modeling/geometry_nodes/hair/write/set_hair_curve_profile.html
The old skool way I used was this setup:
There are a couple of ways, the basic one is this node:
https://docs.blender.org/manual/en/latest/modeling/geometry_nodes/hair/write/set_hair_curve_profile.html
The old skool way I used was this setup: