Am I ok

Okay so my boyfriend and I had protected sex. He pulled out, took the condom off and finished on my back. The second time, he pulled out and finished in the condom. Should I be okay? I just got off my period