Horrible constipation cramps!

Anyone else have sharp constipation pains in the second trimester. I’m 21.5 weeks and have had pain on my right side all day. I’m almost certain it is bowel related because I struggled with this prior to pregnancy but it’s extremely painful! Is there anything that can be taken during pregnancy for relief like prunes or something?