Periods and pregnancy

Hypothetically, i know it not likely to get pregnant days before your period but if you have sex and get pregnant 2 days before your expected period, will you still have that period even though you would be technically only roughly around 2 days pregnant? I had 2 kids but I always tracked my ovulation but me and my husband are just having fun and letting things happen naturally for this go around for baby #3 and I always had wondered the answer to this question