Other changes that may help treat and prevent constipation include drinking enough water and other liquids, such as fruit and vegetable juices and clear soups, so as not to become dehydrated, engaging in daily exercise, and reserving enough time to have a bowel movement.