Pan D is a recommended medicine for constipation, as it neutralizes stomach acids for easier gas passage. But it must be taken within prescribed amounts, as constipation is also a side effect of Pan D. For treatment of constipation, laxatives are suggested.