Surgery is a good option if you have severe perianal inflammation and bleeding and have developed large or obstructive piles.