Constipation help!

9 weeks pregnant and constipated from hell.. What can I take?? It’s making my stomach hurt so bad and nauseated.!!