The 31-year-old actress hopes 'this is a lesson to all young women.'
Mischa Barton is home and opening up about her recent hospitalization.
The 31-year-old actress was hospitalized at Cedars-Sinai Hospital in Los Angeles on Thursday, the morning after she celebrated her birthday with friends -- and says that the erratic behavior she exhibited that day was a result of GHB, commonly known as the "date rape drug."
WATCH: Mischa Barton Hospitalized, Police Say Actress Was 'Making Incoherent Statements'
"On the evening of the 25th, I went out with a group of friends to celebrate my birthday. While having drinks, I realized that something was not right as my behavior was becoming erratic and continued to intensify over the next several hours," Barton said in a statement obtained by People.
"I voluntarily went to get professional help, and I was informed by their staff that I had been given GHB. After an overnight stay, I am home and doing well. I would like to extend a big thanks of gratitude to the professionals at Cedars Sinai for their great care and professionalism. This is a lesson to all young women out there, be aware of your surroundings," the statement continued.
ET confirmed on Friday that Barton had been hospitalized the day before, after LAPD responded to a call for a female that was "yelling and screaming."
Upon arrival, deputies located Barton, who was "fully clothed sitting on a coach" and "making incoherent statements," before the former O.C. star voluntarily was transported to the hospital.
RELATED: Mischa Barton Compares 'Dancing With the Stars' Stint to 'The Hunger Games': 'It Was Awful'
ET last spoke to Barton as she promoted Esquire Network's car enthusiast show, Joyride, in November, where she opened up about being more selective about her projects now that she's in her 30s.
See more in the video below.