Timing

I have been on the pill for about 2 1/2 weeks now, but after the first 1 1/2 week portion my boyfriend and I had sex and he came inside of me , twice in one day.. yes okay crazy but not the point , I just wanna know if that was okay. At the moment I wasn't thinking , but as usual you always think about the consequences after !! So what does anyone think about this?? Let me know. Am I safe ?