Don't know what to do.

I am 24 years old and about to get the divorce papers finally! I have been in a relationship with a guy for about 8 months now. He lives in another country and we've seen each other three times now once on February for a weekend, then on April for 11 days (that's when we decided to date exclusively) and finally I went to visit him for 25 days on June. We were ready to move in together and start our family this year. When I came back from my trip I met someone through a friend. At first it didn't mean anything for me but we started getting intimate. He fell in love with me, and I kinda left my boyfriend aside a little and told him it was because I had a trip coming soon and I was too stressed out. While I was on that trip my "best friend" told him everything because we had a fight. My boyfriend decided to leave me and everything because I had lied to him about seeing the guy, because of course I denied everything and made up a story about him being an old fling that I had seen this year but nothing had happened. It hurt me so much that we were broken up, I felt awful. Then I came back home, I still talked to him and we had a trip planned out already and I'm supposed to go on the 24th to see him. He didn't want to see me at first, and he wouldn't talk to me much. So I came back and the other guy contacted me, I told him I couldn't see him even though I technically didn't have a boyfriend anymore. I told him the truth, I told him that I had a boyfriend and everything, he said he understood and that in a way he had a girl like that too, that he had broken up with since he decided to be with me because she also didn't live in the country. So he was ok with everything, he stayed at my place for the weekend and we had a great time. Then the last day my ex calls me and decides he will give me another chance, and that we should try to work this out. And he's been acting really nice. I don't know what to do! Now I have both guys willing to forgive everything, except one knows the truth, and my boyfriend thinks I only lied about it, not that I actually cheated on him. I know it's messed up and I'm the one to blame but I really need help and well I don't have a friend to talk to anymore.