Please ladies read

hello ladies so i have a question yesterday my boyfriend and i had i guess you can call it sex. He just stick it in twice and then he rubbed himself on me, he didn't cum or anything, my period is in 5 days
now my question is should i be worried? Could i get pregnant from that? Even if he didn't cum? And i was ovulating because my period is in 5 days
Thank you for your answers much love