Anyone filed bankruptcy?

My fiancé is being sued and he went to a lawyer and recommended him to declare bankrupt , has anyone done it or has advice or how it works ?

Ps : I didn’t know what group to use .