Haritaki (harad) is a very useful herb to cure constipation. Triphala is also an very effective remedy for piles. Take 1/2 - 1 teaspoon at night, just before bed