Pregnancy and period

Julia
Can someone be pregnant but also have the period ? Or automatically when I have my period it means im not