I had sex with my boyfriend and im not sure

Patient: I had sex with my boyfriend and im not sure if im pregnant because we used a condom but he had some semen before puting it on and after the condom wasnt ripped but it there a chance that his semen went inside me ?? and i can be pregnant???

Doctor: