There are some simple ways to prevent hemorrhoids from developing. One tip is to consume enough fiber in your diet (anywhere from 20 to 35 grams of fiber daily). Consume enough liquids, especially water, to help you avoid becoming constipated. When you are using the toilet, avoid straining.