Hair loss and hormonal imbalance?

After I had my last baby I lost hair drastically and my hair is extremely thin now. We are TTC again and I finally stopped losing hair but it’s still really thin. Was this probably a hormonal imbalance and does it correct on its own or will this possibly affect our fertility even though I’m not losing hair anymore?