cervix irritated

Yesterday I went to the er because I was having red blood that turned into pink, and then again to red. It's to early for an ultrasound. So they checked my cervix and said that it was closed but my cervix is very irritated from bm and sex and that's the cause of the bleeding. It goes away unless I have try to go to number 2, and it comes back but it's only last maybe 3mins and it's gone. Anyone else's experience this?
They also check my hcg levels and they are 12907(yesterday)and last Thursday(11th)they were 1075. They said they don't think it's a miscarriage. I have horrible anxiety and every time this happens it scares the crap out of me.