Should I go to the doctor?

I’m only 27 weeks and when I woke up this morning with a tight cramping pain in my belly and I’ve been throwing up. Also every time I feel like I need to pee it comes out hot, it’s not burning or doesn’t cause discomfort, just really hot. I’m not sure what to do, I just feel really weird.