Severe constipation

I’ve been constipated since Wednesday. I’ve had bowel movements but none that are regular. I do have an external hemorrhoid (I can see and feel it). For the past 3 days I’ve been going to the restroom and I can only get some of it out and then I have a glove and I use the toilet paper out to get the rest out. It’s awful. I’m 24 weeks

What was the best product you used for constipation?