Any symptoms once cured is recurring means it is due to continuity of disease causing factor in life. May be this is food / sleep/ work habit.
Next Steps
Your details are insufficient to diagnose a kind of piles and unable to trace that root cause in your lifestyle.
Health Tips
Untimely food, spicy, heavy food, night wakings / day sleep, habit of holding defecation urge, continuous sitting are generally causes.
Try to find out root cause in your lifestyle and correct it. Consult such a doctor to help in this purview.