I need woman advice, and just need to vent.. help me out.

So I just don’t know how to feel and need someone to help..

Me and my husband recently got married about 5months ago.. everything is fine and I could say we have a good relationship.

But today a conversation started up which ended up with him confessing something to me which happened about 2 years ago when we first started dating..

To make this shorter about 2 years ago our relationship had just started up and it was great but going Into our relationship we started having some fights over a best friend he had which was a “woman” they had been friends for years and I didn’t want to be biased just cause she was a woman but I never felt like she was genuine and I always felt like she didn’t like me.. and she would always do these things where she would try to make me jealous by buying him gifts and posting long post about their friendship and etc..I never liked this relationship because I always felt there was something else going on.. as time went by my husband realized that their friendship wasn’t healthy so he broke it off and we remained together and as I said everything went great for which now we are married... but today he confessed to me something that happened back in May 2017 which at that time we had been talking about two months.. and i was really serious about him and also to let you all know the beginning of our relationship was “long distance” sooo apparently at this time.. he confessed to have slept with his best friend.. while I was back home... and even though he broke it off and time has gone by... he never told me.. and now 5 months Into our marriage he confessed how disgusted he is at himself for “cheating” on me... and I’m hurt and not sure how to feel.. I just need some girl advice and maybe some help on how should I feel.. sorry for the long story.