If you just had your period for 2 days does this mean that you are pregnant?

No it does not mean you are pregnant, but if you are having unprotected sex there are other things to worry about.