Hayden Panettiere's 'Nashville' role "hit close to home" as her character suffered from postpartum depression too.

Hayden Panettiere

Hayden Panettiere

The 27-year-old actress has been open about the treatment she sought after she gave birth to Kaya, now two.

She said: "You have to ride the waves like the character. When you're that close to your character, you feel their pain and sometimes things hit close to home, and there's been a lot of that."

And the 'Heroes' star also opened up about her hectic work schedule and admits it "definitely takes it out" of her.

Speaking to Access Hollywood, she added: "It definitely takes it out of you. We shoot 10 months out of the year. That's a lot."

Meanwhile, Hayden - who has Kaya with her partner Wladimir Klitschko - previously admitted she was "really surprised" by the support she was given when she underwent treatment for postpartum depression.

She said: "I've gotten an incredible amount of support and I was actually really surprised cause I feel like I grew up in this industry that, in my mind, was very judgmental. I didn't even look at social media.

"Then, when I looked, people were like, 'Oh my gosh, good for you,' and I am so proud to be a spokesperson and a woman that people can look to and to know that they're not alone and they're not weak if they go and they seek help."

However, Hayden did find it tough returning to work on the 'Nashville' set.

She added: "To be honest it was kind of a rocky start for me and especially emotionally. The first scene that I did the other day when I saw certain people that I haven't seen in a while and I felt really comfortable - I just lost it and I couldn't keep it together. So, it held us up for a second but we got it at the end."