My pregnancy

So why am I getting my period even though my doctor confirmed I’m pregnant?