This is an anal fissure.
This is caused by a tear in the anal verge and is a very painful condition.
The swelling occurs due to inflammation around the tear or a sentinel skin tag.
Sometimes, there is bleeding as well when one goes to the toilet.
You will need Lidocaine cream or gel apply that four to five times a day around the area for pain relief.
Over the counter pain killer like Ibuprofen or Aleve for the inflammation and pain.
Sitz baths, which means luke warm water 6 inches in a tub and 2 fl oz of Betadine in it. Sit in the tub for 15 to 20 minutes four to five times a day. This is to keep the area clean and for soothing the area.
Sleep prone for as long as this is present.
If sitting is a problem, use a doughtnut shaped pillow to distribute the pressure around the periphery of the buttocks instead of at the center.
Discuss this with your GP when you see him/her.
Hope this helps.
Please do leave a positive rating for the service by clicking on the stars on top of the screen.