India seamer Mohammed Shami said his family made him realise he had to "fight back" when he was contemplating suicide. (More Cricket News)
Shami recently revealed during an Instagram live chat with team-mate Rohit Sharma that he thought about ending his life three times a few years ago.
The 29-year-old was tormented by personal problems and was also suffering from a knee injury, but has been able to come through some dark days.
Shami had company 24 hours a day during such difficult times and is grateful for the support his family provided.
"Depression is a problem that needs attention. It was unfortunate to see such a brilliant actor like Sushant Singh Rajput lose his life," Shami told the Hindustan Times.
"He was a friend and I wish I could talk to him had I known about his mental condition. In my case, my family pulled me out of that low phase.
"They took care of me and made me realise that I needed to fight back. There were times I felt suicidal but my family ensured I was never alone.
"Someone or the other would always be around, talking to me. Spirituality also helps you seek answers. Talking to your close ones or counselling is the best way out."
Shami says his international team-mates also played a part in helping him through a tough period in his life.
"Mental pressure definitely interferes in your physical wellbeing. At the same time, if you seek help from others and talk about it, you can get rid of such issues off the field," he added.
"I was lucky to have the team's support staff along with Virat Kohli and other players backing me. We are like a family.
"My team-mates always insisted I vent my anger and frustration out on the field. I am happy that phase is over."