Judd Apatow did a stand-up comedy routine on Monday night's episode of "The Tonight Show Starring Jimmy Fallon." It was the first time the 47-year-old graced the stage since he was 24, according to the Guardian.

The "Trainwreck" director and producer finished his set with a big joke about troubled star Bill Cosby.

"Cosby is still out on the road. Isn't that weird?" the producer asked the show's audience before mocking the comedian's current dilemma in regards to rape allegations, according to the video, which can be seen below. "What do you think his act is like? Do you think he's still talking about it? You think he, like, says, 'You ever been in trouble with the wife?'" said Apatow in Cosby's classic voice.

"You ever, like, get into the doghouse with the wife? You know, the doghouse with the wife cause of something that ya did? Like the other day, there was something about me in the paper, and I didn't want my wife to read the paper. So I got up, and at five in the morning, I snuck out to the driveway to get the paper, and I hid the paper. And the next day, I got up, and I hid the paper. And then the next day, I forgot to get the paper. And my wife, she said to me, 'What is this in the paper about the raping and the drugging and the women?' And I said, 'Do you like your life? Do you like the house and the jet? Well then, have a cappuccino and shut the floick up."

Apatow received major laughs from Fallon's audience.