Period sex

My hubby really wanted to have sex and I had just started my period. He finished in me. I was just wondering if there was a chance i could get pregnant while on my period?

And this happened July 28 would it be to soon to take a pregnancy test?