Iud question

I got the mirena IUD 6 days ago, and my boyfriend came in my today thinking it took effect right away. What are the chances of pregnancy or has anyone gotten pregnant this way?

My doctor said it’s effective after 7 days