Breast feeding class

How important is taking a breast feeding class? If you took one did your husband or SO come with you to it?