Anal Pain can be severe and distressing. The causes include:-
Perianal, ischiorectal or perineal abscesses
Anal Injury or Trauma
Solitary Rectal Ulcer Syndrome
This depends on the cause of anal pain and must be directed at the specific finding. Needless to say, a Specialist evaluation is required prior to administering appropriate therapy.