Constipation during pregnancy

rupal

I’m 21 weeks pregnant and in have taken two constipation syrup at a time but both of them were recommended by gynaecologist now i m very worried I have taken both of them it will harm my baby😞😞