If I had unprotected sex and had my period a week later, does that mean I’m not pregnant?

Yes. Getting your period means you didn’t get pregnant from that act of unprotected sex. In the future, use an effective form of birth control — and a condom, too — whenever you have intercourse to greatly reduce the risk of pregnancy and sexually transmitted infections.