Will Smith revealed more about his sex life in his new memoir, Will. In the book, which hit shelves earlier this month, the 53-year-old actor admits he used sex to get over heartbreak as a teenager, causing him to develop a psychosomatic reaction to orgasming.

According to BuzzFeed News, Smith writes that after his first serious girlfriend Melanie Parker cheated on him, he turned to “rampant sexual intercourse” to get over her.

“I desperately needed relief but as there is no pill for heartbreak, I resorted to the homeopathic remedies of shopping and rampant sexual intercourse,” the Men in Black star writes. “Up until this point in my life, I had only had sex with one woman other than Melanie, but over the next few months, I went full ghetto hyena.”

However, Smith said the excessive sex caused him to develop a “psychosomatic reaction” to orgasming that sometimes made him vomit.

“I had sex with so many women, and it was so constitutionally disagreeable to the core of my being, that I developed a psychosomatic reaction to having an orgasm,” he writes. “It would literally make me gag and sometimes even vomit.”

Despite the unpleasant reaction, Smith said he continued having sex with many women in hopes that one “beautiful stranger” would be “the one” who could make his pain “go away.”

“But invariably, there I was, retching and wretched. And the look in the eyes of the women even further deepened my agony,” he writes.

Smith went on to marry Sheree Zampino in 1992 when he was 24 years old. However, the couple divorced three years later and in 1997 he married Jada Pinkett Smith. The Grammy Award winner wrote about the beginning of their relationship in Will.

“We drank every day, we had sex multiple times every day for four straight months,” he writes. “I started to wonder if this was a competition. Either way, as far as I was concerned, there were only two possibilities: I was going to satisfy this woman sexually or I was going to die trying.”

Smith’s marriage has come into the spotlight several times this year, most recently after Jada mentioned their “hard” sex life on “Red Table Talk.”