5 weeks pregnant but had a period !

I'm supposed to be 5 weeks Today I had a period this week light but it was there , I'm afraid I miscarriaged because of the bleeding or if I'm still pregnant? Is it possible to be pregnant and have a Period ?