First time jitters

I'm stupid I know.... but if you could just tell me to worry or not I'd really appreciate it! My boyfriend is leaving for 2 years. We had unprotected sex, but didn't really go through with it (like to the point of cumming-he pulled out super early because I asked him to). I'm paranoid, so I took Plan B. Should I even be worried at all?