Last week, Demi Lovato was rushed to a Los Angeles hospital after suffering from an apparent overdose, potentially from heroin.  While she has since remained in the hospital since, the “Sorry Not Sorry” singer has agreed to go to rehab once she is released, according to E! News.

"Demi's turned the corner and is doing much better," an unnamed source told E! News. "She will be released in the next few days and the plan is for her to go to rehab. She is starting to grasp the severity of what happened and that she almost died."

"She is scared and grateful to be alive," the source continued. "Her family hasn't left her side and have consulted with several people to figure out what the best plan of action is. Everyone wants her to take it very seriously and she seems to be."

In late July, Lovato was found unconscious in her home and given an allegedly life-saving dose of Narcan, which is used to treat narcotics overdoses. The same day, multiple sources described her condition as “stable,” though other details about the situation have been disputed by several sources. What is true is that the 25-year-old has struggled with substance abuse for years and has been open about the tough road to sobriety. In 2010, she checked herself into rehab with the stated interested to treat an eating disorder and work on her mental health and substance abuse. In March of this year, she celebrated six years sober, but by June, she had released a song titled “Sober” in which she clearly admits to a relapse. 

"Mama, I’m so sorry I’m not sober anymore/And daddy please forgive me for the drinks spilled on the floor," she sung on the song. "And I’m sorry for the fans I lost who watched me fall again/I wanna be a role model, but I’m only human." 

"I’m sorry that I’m here again/I promise I’ll get help/It wasn’t my intention/I’m sorry to myself,” the song concluded.

Another unnamed E! News source added that Lovato has agreed to go back to rehab to “make a statement to her fans, family, and friends that she is strong and can recover.” 

"Demi knows she needs help," the source said. "Her family has told her that this is the time to be a good example to her fans."