Help! Nuva ring!

My nuva ring came out on the 14th day of having it in. I had sex around 2 and it must have fell out afterwards! I didn’t find until about 8hours later and I washed it and put it back in. Since it was the end of my second week should I have kept it out until I started my period??? I’m so confused and I’m kind of freaking out because I’m worried that I could get pregnant from having sex before it fell out since sperm lives in the body for up to 5 days!!