Recognize what makes this moment difficult
Acknowledge the event directly without turning it into a lesson, comparison, prediction, or silver lining. For a message about how to apologize for leaving a harsh online comment, use this factual base: name the post, message, file, audience, and privacy impact as precisely as possible.
Offer support that can be accepted
Offer one specific form of practical or emotional support and make clear that no immediate reply is needed. Delete or correct what you control, notify affected people, and preserve evidence needed for a formal response. Make the immediate next step clear enough that the recipient can answer without reconstructing the entire history.
Follow their pace rather than yours
Do not repost the harmful material inside the apology or blame the platform for your choice. Escalate intimate images, impersonation, account compromise, threats, and personal data exposure through platform and legal safety channels. The recipient decides whether they want conversation, ordinary company, practical help, professional support, or quiet.