A little worried

So I had unprotected sec a couple weeks ago. He pulled out and came on my stomach but I was talking to my best friend the other day and telling her about my moodiness and weird cravings and she mentioned I could be pregnant but I’ve had a period since then but it started like the week after and she said her mom had a period with her. I just don’t know what’s wrong with me I have weird cravings, I go from being hyper to being hateful to wanting to cry my eyes out. And it doesn’t even feel good when I masturbate anymore. I don’t think I am I just don’t know what’s wrong with me