Pregnancy Scare😨😨

Can you be pregnant even if your period came on a couple weeks after having sex ???