What did I do?!?😣😔

So I went to another village to visit family on December 27, 2017- January 02, 2018 and I’ve been talking to this nice amazing guy since almost 5 years ago. We’ve dated once but decided we decided to be friends and ever since we were “friends” but things changed last year. We got so close and we finally clicked but I wasn’t ready to be in a relationship. BUT the thing I did was dumb! I knew it was wrong and will hurt him with what I’m going to be asking if it’s possible. While I was in WMO for the New Years I ended up hooking up with this guy and I was just like a day away from ending my period just those few spotting here and there.(I don’t do birth control anymore because all my side effects were different in a bad way to all of them)The first night we had sex and he didn’t tell me he came in me until last night when we hooked up again. Like I have feelings for this guy, too, but I’m stuck between the two and don’t know what to do. Last night the guy I hooked up with told me he came in me when I was just barely off my period. After we went at it a couple times last night, he told me he came in me the last time we did it that night. I don’t know if he was joking or anything because he did sound like he was serious. But now I’m with that amazing guy not knowing if I’m pregnant. Is there a chance I can get pregnant when I was just spotting at the end of my period? I know I messed this whole thing up, but I’m worried... I know I can’t tell if I’m pregnant right now because it’s only been a couple days, but is it still possible??