First, pretend not to know or care. In fact, everyone should be tolerant of emotional things. There's no need to haggle over every ounce. To err is human. Some girls are young and ignorant and have little experience in feelings. It is also possible to do something wrong. But if she can know her mistake, she can correct it. That will do. Since you like her very much, you have married her. Then you can pretend not to know that it has happened. You can live a good life with your wife and avoid some contradictions. And avoid some disharmonious factors.
Second, you can have a good talk with her. If you think you can't accept this. Then you can talk to your wife and ask her what's going on. Is she still in love with the same person? You can listen to her explanation and make your own decision. See if her words can convince you to accept her again. If you can, continue to live a good life. If not, we have to break up. It all depends on your own personal choice.
Third, if you love her very much, give her a chance. If you love your girlfriend now, you won't leave her. Then you must keep it a secret. You should love her slowly and touch her. Make her feel that you are the only one for her. Let her open her heart completely in front of you. When she thinks she can tell you everything. She will tell you her sadness, her pain and her past completely. At this time, in fact, she has fallen in love with you deeply. You must comfort her well and don't get angry. Be sure to love her and don't make her sad. After all, a woman who is willing to tell you about her past must love you very much.