Often this comes along with eye rolling or other demeaning body language.
When someone says this, they are trying to show their superiority. As if the other person is silly or insignificant. And that they do it often.
Instead, listen to what they have to say, maybe there is something that you ought to be doing differently.
If they are retelling a story they have told many times and you are just tired of hearing it again, then for the sake of your relationship, you might just listen to it again (and again).