Please read!

I took a hpt yesterday (I'm three days late for my AF) and the day before and got the same two lines on each one within 10 seconds. Today I went to the doctors and they gave me a pelvic exam and they said that I have blood some in my cervix. They didnt explain it to me. But now after that starting about a half hour ago, I'm spotting brown blood. Is it just a late period with off hormones? What does it mean to have blood in the cervix? Any info would be great.