: The main cause of piles is the bad habit of pushing during bowel movements and constipation. Some people think that it is a hereditary disease. The risk of piles increases as the gestation period and age increase. Piles are also caused by obesity , liver disease , gastrointestinal tract disease , colon and colon cancer patients , rectal surgery , IBS etc. Ways to Avoid Piles: You need to have rafez in your body (rafez: some part of the food which is not digested , such fibrous part is called rafez). We need to eat fibrous food to make rafez in our body. These fibrous foods remain unchanged after digestion , which helps in the formation of feces in the human body. In addition to this, it is possible to avoid piles by using diuretic methods , giving up the habit of pushing during defecation , and drinking plenty of water and liquids. These are the treatments for piles disease. Piles medicine: For piles medicine you need to take medicine directly with the advice of a surgery specialist.