Pregnancy/spotting??

I had sex but then got my period a week later.

That means I'm not pregnant right??

Or did I get pregnant after my period on the next cycle??

It's been 22 days since sex and 13 days since my period. and now I am spotting.

Why am I spotting??