Scared to death plan B didn't work

Alright so my gf started her cycle August 13. We had an experience where we had to use a plan B August 25 about 12 hours after the incident. Later, September 1st, we had intercourse and the condom broke and before I realized it broke I had already came inside. We immediately rushed to a pharmacy to get plan B and took it easily within an hour. Im currently freaking out out of my mind, and am hoping that someone can give me uplifting news. About 3 days after the second plan B she felt cramping. I am terrified that ovulation may have taken place on either of these dates and the pill was ineffective. Please help