Period during pregnancy?

If you have unprotected sex a few days before your period and become pregnant, will you still have your period since it is nearby?