Thank you for your query at AskTheDoctor.com
I understand your concern.
The swelling around the anus could be an infection such as a peri anal abscess or could also be folliculitis, both cases are painful. You have not mentioned any history of haemorrhoids, so I am ruling that out.
Either case, it needs to be examined as they can be acutely painful. Kindly get the swelling examined by your local GP and proceed accordingly.
Hope this was helpful,
These Q&A’s are for educational purposes and should not be relied upon as a substitute for medical advice you may receive from your physician. If you have a medical emergency, please call 911. These answers do not constitute or initiate a patient/doctor relationship.