Pain is unusual in piles(hemorrhoids) unless the is an acute blood clot . It's possible that you may be suffering from a fissure. Hemorrhoids can be treated with sclerotherapy or rubber band ligation in most cases and is an outpatient procedure. Fissures can be treated medically with topical painkillers.
Next Steps
Sitting in a basin of warm water for 10 mins twice a day. Plenty of fluids and fiber (fruits and vegetables or an over the counter supplement like isabgol. can continue with the duphalac.
Health Tips
Using Indian closet or a small stool to keep the hip flexed while using a European closet. the angle between your trunk and thighs should be around 35 degrees