The practitioner has to take about 4 grams of Black Sesame Seeds [Kale Til] and holding them in the hand infuse them with the Hanuman Mantra by chanting the Mantra 21 times. Then he has to mix the Sesame Seeds with some cold water and drink that water.
रामदूत हनुमते नमः ||
Ramdoota Hanumate Namah ||
Sesame Seeds are used in many traditional Indian remedies for treating all kinds pile related ailments. This Hanuman Mantra remedy can be practiced regularly until relief is experienced.
There are numerous other Mantras, Yantras and Hindu remedies for getting relief from piles, which you can find in the various sections of this site.