Consume fibre rich diet, exercise regularly and drink sufficient water in order to prevent constipation.