Piles can happen inside or outside the anal region. The type depends on where the swollen vein develops. External Piles: When the swollen blood vessels form underneath the skin around the anus Internal Piles: The swollen blood vessels form inside the rectum Prolapsed Piles: The internal and external piles stretch and bulge outside of the anus