Need advice

Had sex today (it was great and wild) however we used a condom as usual but when he pulled out after finishing the condom was still in me. I pulled it out but am worried about the fact we weren't protected well.. Worried about getting pregnant. Any insight?