According to the etiology of hemorrhoids, patients should also pay attention to a light diet, eat more crude fiber foods such as vegetables and fruits, avoid spicy and irritating foods, keep the stool soft and smooth, develop good defecation habits, and pay attention to the cleanliness of the anus after defecation. Avoid drinking, smoking, sedentary, squatting, standing for a long time, staying up late, and being tired. Doing the above can prevent the occurrence of hemorrhoids or reduce the frequency of acute attacks of hemorrhoids.