Hi, Welcome to HCM.
Taking medication can be a solution for few occurences, but its better not to make it a habit and give the body the comfort of passing the stools with the help of medicine. Constipation
can be due toreasons such as inactive lifestyle, Digestive tract malfunctioning, leck of proper diet etc. For relief from constipation for a longer period, you should observe what you eat. Firstly, you must include a lot of fiber in your foods which will aid in proper bowel movement which will help push the stools out easily. Fiber rich foods include beans, legumes, sprouts, oats, whole wheat breads, barley, all fruits, vegetables and green leafy vegetables. Avoid all refined foods such as noodles, pasta, biscuits, burgers, cakes etc. You can snack on fruits and vegetable salads when hungry. Secondly, Increase your fluid intake. Sip water throughout the day, preferably hot/warm water. Drink a minimum of 3-4 litres of water everyday. This will keep your body well hydrated and will help in expelling the stools easily. Constipation can also lead to fissure, piles etc where there is blood in stools due to difficulty in passing out. So water is very important. Ensure you are eating at regular intervals and do not put strain over your digestive tract. Continue this for at least a week and you will slowly see that you can do without medication.