Hello,if you are passing hard stool ,it could be due to constipation. You must drink lot of water. Take fibre containing vegetables and fruits . Avoid simple
sugar, junk foods . Have cereals and pulses . If you are not passing hard stool ,it could be due to spicy foods , anal fissure . Avoid spicy food ,consult general surgeon once for examination.