Allah The Glorious knows all our deeds and we need to seek Forgiveness from Him.
You do not need to mention your previous sins to any one except Allah, simply, because no one can forgive your sins but Allah (SWT).
In many cases, mentioning your previous sins can hurt the feeling of your spouse or displease them. Disclosing your previous sins can be harmful as it is possible that it can leak to others including your children when your spouse is unhappy with you. That is why, you should keep your sins between you and your Creator and seek His forgiveness.
Just repeat Estighfaar as many times as you can and seek from Allah (SWT) to forgive your sins and protect you and your family from every harm ijn this life and hereafter.
Islamic rules have punishment on certain major sins, but that punishments can only be implemented by the Prophet , Infallible Imam or his deputy.