Constipation is not necessarily a simple bowel obstruction, but can also be related to diet as well as lifestyle habits. In most cases, constipation is caused by a diet that is too greasy, poor digestion, long late nights, etc. You can eat more vegetables and fruits, coarse fibre foods, and try to get enough sleep and not stay up for long periods of time to regulate it. If necessary, medication can be used according to medical advice to improve symptoms.