Fluids and fiber
Drink lots of water (not caffeine
or sugared drinks) and eat more fiber
(fruits, vegetables, whole grains).
Try a fiber supplement if needed. Get into the habit of sitting on the toilet for a while after eating, when the natural reflex allows you to relax and move your bowels. Avoid straining. If it persists, see your doctor.