Pregnancy and periods

I’ve always wondered if you have sex a few days before your period is due and you conceive will you still have a period?