If it's an unclear or inappropriate usage, you might want to ask your wife more about the context. If it makes her uncomfortable, you could support her by expressing your concern about the content she was exposed to.
If it turns out to be something completely misconstrued or a misunderstanding, you can laugh it off together. But if it's something inappropriate from a particular source, you may consider discouraging further exposure to such sources for the sake of a healthy family environment.
First, you should try to stay calm. Reacting impulsively can make the situation worse. If it was an accidental sighting, try to forget about it as much as possible.
React with a bit of humor. For example, say something like 'I'm glad you like my crazy tales!'. But also gauge her reaction closely to ensure it's all in good fun.
If 'cock' is misused here and should be something else, it's very hard to make sense of. Maybe it was a typo and was supposed to be 'clock' or 'cook'. In that case, it could be about her seeing stories related to cooking or clocks.
If it's just an animal, like a rooster, a normal reaction could be to be a bit startled at first and then just laugh it off. It's just a part of nature.
React with an open mind. Since you don't know the nature of these stories yet, it's important not to overreact. Listen to what your friend has to say. If the stories are positive and about good times, it can be a great opportunity to bond further. However, if you sense any oddness or discomfort, then you may need to have a more serious talk with your friend about boundaries and respect for your relationship.
If you saw a friend's nude stories, it's a very sensitive situation. First, respect their privacy. Don't spread or gossip about it. You could consider talking to your friend privately and sincerely, let them know how you came across it accidentally, and apologize if they feel violated.
You could start by listening attentively. Maybe she's just being creative or using stories to express her feelings. Try to enjoy the stories with her first.
First, you should find out exactly what 'it' is. If it's something inappropriate or false, you can calmly correct the person and set the record straight.
You could just laugh it off. Since they are likely just for fun, taking them too seriously isn't necessary.
First of all, this is a very awkward and difficult situation. If it was an accidental sight, you may need to have a calm conversation with your wife about how she feels. And if it was inappropriate behavior from someone else, you should consider taking appropriate actions to protect your wife's feelings and rights, such as having a serious talk with the person involved or even seeking legal advice in extreme cases.