Am I safe

So I was on the patch for two weeks and then made my period come the third week by not putting the patch on that third week. It did come and I put the new patch on the same day I usually do. I started the patch on day 5 of my period. I had sex on day ten and he pulled out. Am I safe?