I am very sorry for your situation, you have my deepest sympathy.
I will offer what I can with the limited info; I mean, you don’t say how he reacted when you found out, was he remorseful, does he feel guilty, etc.? The answers to those questions are the key to determining where your relationship goes.
With that said, I can offer this: It will take a lot of time, trust me, different amounts for different people, but it will be considerable.
Being betrayed by the one you hold most dear is the hardest betrayal of all, and takes quite a lot to forgive; and learn to live with it. And remember this, living with it is what you are shooting for, because I promise, you will never forget it, and it will never totally leave your mind.
Allow yourself the crying, anger feelings, etc., those are healthy responses and they are part of the healing process.
Next, please don’t bear this alone, seek professional counseling if possible, but also seek council with trusted family members, friends, clergy, or all three.
I hope this helps, I wish you all the best, and will say a prayer for you both.