help me.. idk what i should do.

So, I've had sex on june 4. And my period end on june 5.
We did not use condom when we had sex ( i was still menstruation that time).
Do i can get pregnant when we had sex on my menstruation day?
Im getting super paranoid, and afraid it will cause my next cycle bad effect.