I’m a husband and father, my wife says I’m good at it but I’m not so sure.
What I would say is that you have to patience. Children can be very difficult and irrational and it is improtant to be very patient with them. That does not mean letting them behave poorly without discipline but also understand that it is normal. Having a wife also requires patience, men and women thing very differently on things and in the beginning it takes patience to adjust to that.
I think you have to be willing to sacrifice some of your wants and sometimes needs. There will be many times where the kids need something or perhaps the wife needs something an you will have to sacrifice something to meet their needs. Hopefully that notion isn’t a one way street.
I think you have to have the qualities of a good man before you can be a good husband or father. IMO, this means being strong not exclussively physical strength but strenght of character and conviction. You should aim to be a leader so that you can lead your family, not that the wife can’t lead sometimes (she often will) but as a man you are ultimately responsible for making sure the family is lead in a good Catholic way. You need to be a good example to others so that when you get married and have kids you understand how much your actions dictate the actions of your children. Act as you would like your future children to act. This may be a little old fashioned but I feel like a prime duty of a good man is to be the defender of the family and demand that the children (and anyone else) respects your wife.
Most of all of these points is learn to lead. This isn’t the same as dominating. A man who is a leader of his family , simply put , guides and shows his family the way. So it’s more leading like a scout who knows the territory guiding those through it who are in his charge and less like the type of leading that Castro does.
Of course every man should be based in strong faith.