pregnant and having your period??

can you be pregnant and still get your period???? I'm very nervous and I called my doctor to ask and he said it's impossible and if I am pregnant it's not my period that I am having...