Pregnant

17 hours ago I had sex with my friend we were drunk and he came inside me, we had sex at 2 am and by morning at daylight my period came, so just an hour ago I took my plan b. Am I in risk to get pregnant?