hi,thanks for query.There are many reasons for this
constipation,first of all look for food habits,avoid maize products,have more of leafy vegetables and drink plenty of fluids.Do regular exercise,this helps in most of the cases.You can discuss with your doctor and take laxatives for time being till this above things helps.
wishing you good health.