Constance Wu has returned to social media after a break and has opened up about her mental health struggles. She revealed that she attempted to kill herself after receiving online backlash for her comments three years ago.

Wu received harsh criticism on social media after she complained about the renewal of "Fresh Off the Boat" sixth season in 2019.

The actress wrote a series of tweets at the time mentioning how she was "upset" and "literally crying" about the renewal. When one fan congratulated her on the "Great news," Wu responded, "No it's not." She later explained that she was having a "rough day" at the time. She also said she was "grateful for FOTB renewal." All the tweets were deleted later.

The 40-year-old shared a lengthy post on her Twitter page Thursday. She disclosed that she is "afraid" of social media even now.

"Because I almost lost my life from it: 3 years ago, when I made careless tweets about the renewal of my TV show, it ignited outrage and internet shaming that got pretty severe," the actress recalled.

Wu, who has a Chinese-American background, felt like she didn't "deserve to live anymore" when she received criticism from fellow Asian-American actresses.

"I felt awful about what I'd said, and when a few DMs from a fellow Asian actress told me I'd become a blight on the Asian American community," she shared. "I started feeling like I didn't even deserve to live anymore. That I was a disgrace to AsAms, and they'd be better off without me."

However, she didn't disclose any names.

"Looking back, it's surreal that a few DMs convinced me to end my own life, but that's what happened," she recalled. "Luckily, a friend found me and rushed me to the ER. It was a scary moment that made me reassess a lot in my life."

After the issue, many of her Asian-American colleagues reportedly started avoiding her. This made her realize "how important it is to reach out and care for people who are going through a hard time." Wu then decided to put her career aside and focus on her mental health.

She feels Asian-Americans don't talk about mental health enough but are quick to "celebrate representation wins."

"There's a lot of avoidance around the more uncomfortable issues within our community," she added.

"After a little break from Hollywood and a lot of therapy I feel OK enough to venture back on here (at least for a little bit)," she concluded. "And even though I'm scared, I've decided that I owe it to the me-of-3-years-ago to be brave and share my story so that it might help someone with theirs."

In the same tweet thread, the actress shared details of the National Suicide Prevention Lifeline.

On the work front, Wu was a regular on the TV series "Fresh Off the Boat" from 2015 to 2020. She was recently featured in "The Terminal List," which was released on July 1.

If you have thoughts of suicide, confidential help is available for free at the National Suicide Prevention Lifeline. Call 1-800-273-8255. The line is available 24 hours, every day.

Constance Wu
Constance Wu will play the role of Rachel in “Crazy Rich Asians.” Pictured: Wu attends the 21st Annual Critics' Choice Awards at Barker Hangar on Jan. 17, 2016 in Santa Monica, California. Getty Images/Mark Davis