Yorick was Hamlet's jester, and he didn't write anything in the play. He was a character who entertained the court.
However, if you're referring to a different "Yorick," please provide more context so I can help you.