Hi,
Hemorrhoids or piles are swelling and inflammation of veins in the rectum and anus. It is associated with bright red blood covering the feces, on toilet paper, and/or in the toilet bowl. This can be measured by degree of prolapse. In your friend's case, he is Grade II: the hemorrhoids prolapse upon defecation but spontaneously reduce. (ref: http://en.wikipedia.org/wiki/Hemorrhoid) At this point, immediate consultation is not yet warranted. he following measures may help: drinking more fluids, eating more dietary fiber (such as fruits, vegetables and cereals high in fiber), exercising regularly, practicing better posture, and reducing bowel movement strain and time. There is no medicine that will cure hemorrhoids but local treatments such as warm sitz baths, using a bidet, extendable showerhead, cold compress, or topical analgesic, can also provide temporary relief. If it persists and the hemorrhoid does not reduce spontaneously after a bowel movement and other symptoms occur, have this evaluated further by your doctor for proper management.
Take care and regards.