Sex and Mirena

I just got the mirena iud 2 days ago while on my period but my period ended today and I had unprotected sex but he didn’t cum inside of me. Am I ok?

Sorry for the dumb question.