Sharp pains

Kk 💀

I'm 6 weeks and 3 days pregnant. I woke up this morning with a sharp pain on my side that shot all the way up to my ribs, it hurt so bad that I had to stop what I was doing and vomited. It has now continued to happen 3-4 times since. Should I go to the hospital? I'm not sure if I'm over reacting.