Lena Dunham has opened up about her struggle with obsessive-compulsive disorder in a newly published excerpt from his upcoming first memoir "Not That Kind Of Girl."

The excerpt, which was published in the September issue of The New Yorker, started with the 28-year-old actress saying that she was "afraid of everything" at age eight.

"The list of things that keep me up at night includes but is not limited to: appendicitis, typhoid, leprosy, unclean meat, foods I haven't seen emerge from their packaging, foods my mother hasn't tasted first so that if we die we die together, homeless people, headaches, rape, kidnapping, milk, the subway, sleep," wrote the creator, writer and star of the Golden Globe-winning HBO show "Girls."

She then revealed that her father decided to take her to a therapist at age nine after her anxiety became more disturbing.

In the middle of the excerpt, the New York City-native recalled the moment when she first realized that she suffers from obsessive-compulsive disorder:

"Sitting with my mother in the beauty salon one afternoon, I come across an article about obsessive-compulsive disorder. A woman describes her life, so burdened with obsessions that she has to lick art in museums and crawl on the sidewalk. Her symptoms aren't much worse than mine: the magazine's description of her most horrible day parallels my average one. I tear the article out and bring it to (my therapist), whose face crumples sympathetically, as though the moment she'd been dreading had finally arrived. It makes me want to throw my needlepoint supplies in her face. Do I have to do everything myself?"

Though the "Not that Kind of Girl" will not hit bookshelves until Sept. 30, the memoir excerpt has received positive feedback from some news sites.

"In typical Dunham fashion, the excerpt is very revealing and holds absolutely nothing back. The well-written selection chronicles her childhood struggles with obsessive compulsive disorder among other personal demons, which Lena has made reference to in the past," wrote PerezHilton.

"It delves into this serious topic with touches of humor," a USA Today.

Dunham is promoting the book from Random House with an 11-stop book tour, which will start in New York on its day of release.