The pain inside the anus should be analyzed to determine the cause of the disease and then treat it symptomatically. First, the pain inside the anus may be anal fissure, which is caused by dry stool and can easily damage the skin around the anus and the anal canal, resulting in pain caused by fissures, which can be treated by inserting hemorrhoid plugs inside the anus for anti-inflammatory and pain relief. Second, if it is an anal gland infection, it will spread along the rectum and the anal canal, so it will lead to pain inside the anus, which should be treated surgically, i.e. perianal abscess incision and drainage. Thirdly, if the hemorrhoids are mixed and infected, and have been stagnant for a long time, they are prone to form blood clots, so you can take oral medication to reduce swelling, take a warm salt water bath, insert hemorrhoid plugs inside the anus, and apply hemorrhoid cream outside the anus. If the results are not good, surgery, such as thrombus stripping or external and internal ligation of mixed hemorrhoids, should also be performed. Therefore, treatment should be based on the cause of the pain inside the anus.