Stool softers

What stool softeners are safe during pregnancy?

I have hemorrhoids that are giving me issues and making bowl movements so painful I can't poop.

The ER told me to take stool softeners but didn't say what is safe to take .

I can not remember the ones I took with my last pregnancy and I dont have a Obgyn yet to call and ask.