Pregnant with really bad constipation

What can I take for constipation that is safe for pregnancy and won't trigger IBS-D??? The pain and pressure is getting bad and making nausea even worse (morning sickness)