Evidence from the ahadeeth and Islamic scholars also suggests that one should conceal one's sins, other than if one needs to seek help from someone on how to stop committing a certain sin etc.
Ibn Umar (ra) narrated from the Prophet sallallahu alaihi wa sallam as part of a longer hadeeth, ".... let him conceal himself with the concealment of Allaah, and let him repent to Allaah,." Narrated by Maalik (1562) , al-Haakim (4/425) and al-Bayhaqi (8/330). This hadeeth was about a major sin.
The fact that Allaah conceals it implies that the believer must also cover himself. Whoever deliberately flaunts his sin angers his Lord, Who will not then cover him. Whoever deliberately conceals his sin out of shame before his Lord and before people, Allaah will bless him by concealing it. (Fath al-Baari, 10/487-488)
Shaykh Muhammad ibn Saalih al-‘Uthaymeen (may Allaah have mercy on him) said:
As for the sinning believer, if he commits sin it is better for him not to do so openly and not to tell anyone about it, and to conceal himself with the concealment of Allaah and repent from it.
If he tells his shaykh or a similar person who he hopes can teach him a way out from it or show him how to keep himself from falling into similar sins, or can tell him the reason why he fell into it, or make du’aa’ for him, etc, this is fine.
So sister, what's done is done, and other than to seek advice on how to stop, or what the cause might be, it's better to just privately seek forgiveness from Allah and not to tell anyone else about it. If you want people to learn from it, you don't need to mention that you did a sin, rather merely say, "You might encounter difficult circumstances. Be patient and don't say things like " ...."
Hope that helped you, sis.
