he didn’t pull out in time

so me and my boyfriend were having sex without a condom (i’m on the pill, take it at the same time, no antibiotics and i’m not sick) and I don’t think he pulled out in time. he came on my stomach and I saw a lot of cum so maybe he did, but it’s freaking me out cause he asked me like twice afterwards if he got any inside of me. if he didn’t pull out in time and did end up getting a little inside of me , the pill will more than likely protect me right?! i’m nervous and I just need some reassurance to calm my nerves.