I'm sorry to hear that. Yes, it may be due to the use of medications you shared. However, I would recommend you to eat frequent small meals rather than a few large ones. Choose a healthier diet and avoid fast food. Use fruits and vegetables with peel like cucumbers, apples, etc. Take Benefiber to aid your stool. Increasing your water intake will be helpful. Lastly, walk regularly for 10-15 mins.