I’ll go against the grain here.
From what I read, your indiscretions were before you were married. Doesn’t make it good, but there wasn’t a “ring on it” yet.
Now, you’re married and you have a kid. I will assume that:
You love your husband
This child prompted a perspective you hadn’t thought of before.
You have a drive to patch up your voids and be the best mom and wife you can be.
My opinion? If the above is true? Take it to the grave. Work on yourself, put the past in the past, and never let it steal more than it already has. You have been going through a learning experience, a transition of reality, all while your husband has been, consequently, along for the ride. But he loves you. And you love him. Begin today. Focus on each other.
If you will honestly move into the future with continued commitment to your marriage and a quest to raise a healthy family, get on it. It’s worth whatever you have to do to achieve it. Leave no stone unturned to figure out what made you fall so easily and give yourself away. Recognize it so that, when it comes around again, you won’t be fooled this time. You are allowed to heal and you are allowed to be happy. Shame will keep you guilty, but shame does not come a place with your best interests at heart. Shames comes from darkness and would love to see you fail.
You need not live in shame if you truly turn from the bondage of lies and shame.
All this said, if it will eat you alive to never reveal things, get it out now. Maybe you can’t live with the secret. Maybe you can’t burn it. Only you will know.
53 Then they all went home, 8 1 but Jesus went to the Mount of Olives.
2 At dawn he appeared again in the temple courts, where all the people gathered around him, and he sat down to teach them. 3 The teachers of the law and the Pharisees brought in a woman caught in adultery. They made her stand before the group 4 and said to Jesus, “Teacher, this woman was caught in the act of adultery. 5 In the Law Moses commanded us to stone such women. Now what do you say?” 6 They were using this question as a trap, in order to have a basis for accusing him.
But Jesus bent down and started to write on the ground with his finger. 7 When they kept on questioning him, he straightened up and said to them, “Let any one of you who is without sin be the first to throw a stone at her.” 8 Again he stooped down and wrote on the ground.
9 At this, those who heard began to go away one at a time, the older ones first, until only Jesus was left, with the woman still standing there. 10 Jesus straightened up and asked her, “Woman, where are they? Has no one condemned you?”
11 “No one, sir,” she said.
“Then neither do I condemn you,” Jesus declared. “Go now and leave your life of sin.”