Treatment for constipation typically starts with lifestyle changes, such as increasing dietary fibre, drinking more water, and exercising regularly. If these measures are not effective, over-the-counter laxatives can be used, including bulk-forming, osmotic, or stimulant laxatives. In more severe cases, a doctor may recommend prescription medications or other treatments.