Have you ever been in this situation?

Kay
My "bf" and I have been together 12yrs..we have no kids together and I'm currently going to the fertility doctor because I told I wasn't producing any eggs... But we've been broken up since November 2016 but we still have sex and everything that we would normally do in a relationship (if that makes sense) but I've found out in August that he have someone pregnant 😢 and he wasn't going to say anything to me or his family until he got a DNA test. She's due in March 2018. I'm so heart broken over It even though we are not together right now but we plan on getting back together, But he tell me that he ready for ME to have his child because this is what we've been planning since we been together. (He just got out of prison August last yr he was gone 7yrs) I just want advice on what I should do because I don't think I can EVER get over this and this is his and her first child