Thanks for your query.Based on the facts that you have posted it appears that you have Haemorrhoids which you are getting repeatedly.
Please change your dietary habits
Take diet rich in vegetables ,salads, leafy vegetables,,fruits and roughage so that your stools are soft.
Drink plenty of water.
Restrict non vegetarian diet .
Take some stool softener
like Isabgol or Cremaffin
.available over counter in medical store.
Consult qualified Surgeon for clinical and proctoscopic examination to find out the degree of piles.