I have been up since 2am with chronic diarreah and

Patient: I have been up since 2am with chronic diarreah and constipation. It feels like in my stomach that there is a really hard poo, but i am just pooing diarreah. I am 39 weeks pregnant. From the pushing for 13 hours every half an hour i have developed really painful hemoroids, and my vagina is SO swollen and sore. I also noticed that there was a little bit of blood in my diarreah the last time i went to the toilet. Im not sure if this has anything to do with going into labour or not, what should i do ?

Doctor: