Is this possible?

Can you be pregnate and still get a PERIOD ? My friend told me that some girls dont realize there pregnate because they get there periods without having a miscarriage 😩