I don't know if I could be pregnant or not

Me and my boyfriend has sex on Thursday at 12 or 1 in the morning. He told me that he doesn't know if he pulled out on time and if he didn't i don't know what to do like should I take a pregnancy test? Or take birth control? Or I don't know please Help me 😔😭