The focus of the Main Quest switches to finding out the missing pages from a book that you have found in the Restricted Section and Nearly Headless Nick may be able to provide some helpful information. This mission is called The Hunt for the Missing Pages.
Once you’ve located him, follow him into the Kitchen where he requests that you bring him some spoiled roast beef. After tickling the pear in the artwork, look in the back right corner as you enter the kitchen.
It is on top of the barrel and is emitting a crow-like sound. Take the decaying roast beef back to Nearly Headless Nick after picking it up and speaking with a house elf. During the cutscene, Nearly Headless Nick will be led from the graveyard, and it will be up to you to locate Richard Jackdaw’s head.
How to find Jackdaw’s Head amongst the Pumpkins in Hogwarts Legacy
Follow the objective marker and you will reach the “Headless Hunt” where you need to play a game. You will need to find Richard Jackdaw’s head in the purple area on your mini-map five times. As you wander around that area, you will observe that a pumpkin is often shaking. Use Basic Cast on that shaking pumpkin. A suggestion is to use Revelio, which also makes it easier to reveal the shaking pumpkin.
Repeat the process above five times and Richard Jackdow will be up for the conversation and help you look for the missing pages, which actually turn out to be still on his corpse.
What NOT to do during Headless Hunt
As you run around searching for the shaking pumpkin, there will be quite a lot of ghosts mocking and jeering you. While it can be tempting to use Basic Cast and destroy all the pumpkins in front of you, that will cause the pumpkins to respawn again. Thus this will not produce a significant result and would rather be a waste of time.