What can i take for constipation??

I'm 22weeks &4 days pregnant and I'm feeling bloated and constipated what is safe to take?