Yes, if you have developed hemorrhoids twice in the space of a few months, it is an indication that you may be doing something wrong. In most cases however, piles or hemorrhoids is quite easily preventable, so there is no cause for worry, especially since you say that your problem was minor.
First of all, two problems that can increase the risk of piles are obesity and hypertension. If you suffer from either of these problems, you need to work towards solving them.
The most common cause of piles however is constipation, and this can usually be handled quite easily by making some changes in your diet. Chronic constipation (and, on the other hand, diarrhea in some cases) causes you to strain when passing stools, putting a lot of pressure on the tissues and veins in the anus. This leads to inflammation, which eventually results in piles. The main thing you need to do so that your stools are normal is to increase your intake of fiber and water. You should also reduce your intake of food that is excessively spicy or oily, as well as alcohol and caffeine. Some amount of daily exercise will also help your digestive system as well as improve muscle tone, which is also helpful in preventing piles.
answered by G M