Most likely you have developed a fissure due to constipation and the swelling you feel could be a skin tag. Or your symptoms could be due to prolapaed thrombosed piles.
Next Steps
Please visit a general surgeon at earliest. You need to be examined Sona diagnosis can be made and appropriate treatment given which may include surgery
Health Tips
For immediate relief please start with warm water baths 10-15 minutes three times a day.
Avoid constipation