It appears that you have piles, better consult a general surgeon in clinic visit as examination and extent of piles has to be seen and evaluated.
Next Steps
1. Increase fibre intake in your diet, avoid or reduce non veg,
2. Hydrate well atleast 2-3 litres per day.
3. If your over weight reduce weight.
4. Daily exercise.