Pain in pubic bone at 21 weeks?

The past 3 days I have had terrible pain in my pubic bone sometimes it’s constant sometimes it’s when I walk. I went to the doctor a few weeks ago and she said my cervix was a little short and I was also spotting a little a few days ago. Could this be from my cervix being to short ??