Periods after sex

I got my periods 2 days after having unprotected sex (with my trusted partner)

Does that mean I can’t be pregnant from our last sex session? Or it’s my next periods that can tell if I’m pregnant or not.

Sorry for my lack of knowledge. Thanks.