Help!

Can I get pregnant a week before my period starts. I remember going to the doctor and them telling me I’m not because my period was the next day. But it’s been about 5 days and I wanna know if I could be?