Sitting for a long duration on hard surface. Eating dry food. Smoking. Putting pressure during defecation. Eating Non-Vegetarian food. Consumption of canned food. Afternoon nap (diseased, aged and children are exempted). Eating stale food. Anal coitus. Usage of Sesame and Mustard.
Do the following things...
Drink lot of water (avg 3 lts /day).
Consume green leafy vegetables and fruits which add roughage.
Sleep well in nights.
Maintain Oral and Anal hygiene.