Most readers will skim a prologue, so it’s important that it’s engaging and provides information that’s critical to the story. If the information in the prologue can be conveyed in the first few chapters, then it’s probably not necessary.
A prologue can be a useful tool for providing essential backstory or for introducing readers to the world of the story. But if it’s not done well, it can feel like a info-dump or a unnecessary distraction.