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...