Condom broke during sex

The condom broke while me and my husband were having sex. We do not want to get pregnant so he immediately pulled out when it broke. I was also on my period and not ovulating.

Can I get pregnant from this? Why or why not? What should I do?