Took a nausea pill.. And now I'm constipated😭 what do I do?

Ariadna • 23 years old. Expecting first baby 👼
First time pregnancy! My nausea was bad at 6 weeks than surprisingly eased a lot after that. I make sure to keep crackers and nibble on them during the night. But the other day I had bad nausea so I took a pill my dr prescribed and made me constipated !!! I haven't had a bm in two days and my stomach hurts 😔 I want it out!! Any suggestions??