Constipation and low appetite

Riddhi

Hi I am 24 weeks and I have been feeling very constipated lately and due to that my appetite has decreased. I am worried if my baby will be getting enough as I m not eating well. Can anyone please help and what should I do to cure constipation