Usually getting constipated will cause it to hurt a lot when waste finally passes. Constipation happens for a variety of reasons, but waste kind of piles up at the end, gets a little larger, and thus hurts when it goes out. To prevent constipation, the basic three things are: Drink extra water, exercise regular, and eat enough fiber foods (to include oat cereal, whole wheat bread, dark green vegies and salads).