Constipation Treatments -- Starting With Good Habits. One way to keep things moving is by getting enough fiber in your diet, which makes stool bulkier and softer so it's easier to pass. Gradually increase the amount of fiber in your diet until you're getting at least 20 to 35 grams of fiber daily.