Help please scared!!!

What are the chances of getting pregnant if he didn't finish inside you and had a condom on?

Note: it was our first time and was going for about 5 mins but I am really stress my period is supposed to come in 2 weeks but I can't stop thinking about the risks. How likely is it I could be pregnant from this?