How do you prefer to confront your friends who unintentionally hurt you?

You know they didn’t mean anything by it, and rationally you know that confronting it may not stop the hurt feelings, and you also don’t want to hurt your friend and bringing it up can feel like you’re doing it just to make them feel bad.
How do you prefer to confront your friends who unintentionally hurt you?
Post Opinion