Period but pregnant

A.
Can you have your period and be pregnant if so how would you know??