The curvature of a three-dimensional surface asks for help

I wonder how to find the curvature of a surface in 3D? I have only seen the way to solve curves in 2D cases in the documentation, and it is wrong for me to apply it to 3D to solve the curvature of the surface, can you briefly introduce it.

First which curvature : Gass or mean curvature and to do what!