Hemorrhoids, also known as piles, happen due to swollen veins in the anus and lower rectum. They often get better on their own after a few days.