Help!!!

So my boyfriend and I had sex tonight and I just finished my period this morning he said he wasn’t sure if he pulled out on time or cummed in me alittle but my concern is will I get pregnant or not and if so should I take the morning after pill