To sum up, including sufficient amount of fiber in the diet, leading an active life, and drinking plenty of fluids are of help in preventing and treating constipation. In some cases, you may also go for fiber supplements but that, after consulting your health care provider.