Cervix is low & hard

I had a chem pregnancy so I’m freaking out. I’m 5 weeks right now, I have creamy white discharge but my cervix is low & hard.

It was high & soft a few days ago so does this mean I’ll be having a miscarriage soon?

Please help