He came inside me

So I had sex a couple days after my period stopped. He used a condom, it fell off inside me, he came, and THEN did I notice it wasn't on him anymore. I was wearing my nuvaring. Does that mean I have a chance of being pregnant? Or since I had my nuvaring in, it will somehow make sure I don't get pregnant? So confused.