Anal swelling accompanied by pain may be caused by hemorrhoids, ulcerative colitis, perianal abscess, etc. Oral acetaminophen, cephalosporin, sulfasalazine, etc. may be chosen for intervention. 1. Hemorrhoids: The treatment of hemorrhoids requires a combination of topical, oral, and other drug delivery modalities, as well as surgical treatment if necessary. Oral medications commonly used for hemorrhoids include acetaminophen and other pain medications, and if infection is clearly confirmed, anti-infective medications such as cefadroxil can be used. 2. Ulcerative colitis: according to the condition of the choice of sulfasalazine and other aminosalicylic acid drugs, budesonide and other glucocorticoid drugs, if necessary, can choose to use methotrexate and other immunosuppressants. 3. Perianal abscess: the treatment of perianal abscess is also based on the use of drugs, its oral treatment drugs and hemorrhoids are similar, but need to pay attention to, if the symptoms persist or aggravate, the need for surgical drainage intervention. It should be noted that uterorectal tumors, pelvic inflammatory diseases and other diseases may also lead to anal swelling with pain, the emergence of this symptom timely consultation. The above medications should be used under the supervision of a clinician.