Pregnancy and period?

Hi. so I was wondering if you could still be pregnant even with having a period. I read online that it is not possible but I stopped using the birth control pill and started right after that and didn't know i started because of that. Any ideas?