Thanks for posting your query.
Do you have some mass palpable at anus?
With the available described details, there could be possibility of thrombosed hemorrhoids or anal fissure
Aggravation of pain due to coughing or sneezing could be due to active wound at anus and persistent injury.
You should consult with internal medicine specialist/ general surgeon
and should go for thorough check up.
You should go for per rectal examination
Treatment of anal fissure and hemorrhoids differ and treatment depends on exact diagnosis.
Meanwhile, you should take plenty of water along with laxative containing isapgula and lactitol. Laxative helps in relieving constipation
and cure of local wound.
You should also apply lignocaine ointment along with diltiazem
You should also perform hot sitz bath; put lukewarm water in a tub and sit in it for 15-20 minutes twice in a day. This helps in relaxation of anal sphincters.
You should also take antihelminthic medicines.
Dr. Mayank Bhargava