Can u still have periods while pregnant?

This is a stupid question I know but I've been getting a lot of symptoms of pregnancy and I've had my period twice this month. I'm kinda freaking out right now because I'm only 17. Pls help

UPDATE:

I'm not pregnant! I had a feeling I wasn't but I really needed to be sure. Thank u to those who answered