Inform
If you notice a mistake, you should proactively reach out to affected parties. In your communication to them, the first step is to inform them about what happened.
If someone else notices the mistake and approaches you to talk about it, you can skip this step. They already know what happened.