I know your in shock from the BD but you have to get your $hit together right now. You can't make things better right now but you can certainly make things worse!
Stop asking for reassurance and stop asking her if she's mad at you. Your goal right now is to work on yourself and make the changes you want to make FOR YOU not her. Focus on yourself and your kids.
You sound really needy and insecure which are beta male traits that completely turn women off.
This is a marathon and not a sprint so you need to put in the hard work if you want to save this marriage.