can you have a period while pregnant?

I swore I was pregnant but ive been on my period for three days now I just want to know if its possible to have a period the same,month you got pregnant?