Tmi ughh

Okay I need advice!! I'm 21 weeks and horribly constipated!! I have sat on the toilet what feels like all day long and I know I need to go but it won't. I feel the pressure of it but nothing will come out ! Before I had horrible diahhrea but the Dr gave me some meds and now I'm stopped up?!!