Article from Art of Manliness (below are a preview of the steps given, follow the link for full article.)
See yourself as a transitional character.
Imagine your posterity.
Marry someone from an intact family.
Be intentional!
Distance yourself from toxic relationships.
Surround yourself with positive examples.
Seek professional help when necessary.
Hold fast to your goal by regularly reading things geared towards helping you become a better husband and father.