Here’s a great way to get to grips with Hamlet. Read it before the play – a good introduction – then read it again after reading the whole play to get all of Tom Stoppard’s in-jokes.
https://en.wikipedia.org/wiki/15-Minute_Hamlet
The text is available via your favourite search engine!