From your description you seem to have prolapsing piles, not prolapse of the rectum. Piles are swollen veins in the rectum. When they become very large they may come out of the anus and stay out. These piles are prolapsing piles. They need surgery. In some patients the whole rectum (that's the last ten to twenty centimeters of the terminal digestive tract) may itself come out. This is prolapse of the rectum. This also needs surgery, but of a different type. If your doctor says you have both prolapsing piles and a rectal prolapse, think of taking a second opinion.