Sharp pains

Catherine

I'm about 8weeks and I was standing at work when I got shooting pain. I just got off bed rest for a severe yeast infection. It was just sharp lasted a few seconds but scared me I've have a miscarriage in March of 2020. Am I overreacting or is it ligament pain