26 weeks, had awful diarrhoea for day, now not passing anything?

Had crippling diarrhoea for about 1 week, now the last two days I can’t pass toilet it’s like there’s nothing there? Any suggestions? Should I bother my GP/Midwife?