The most common type of anal swelling and pain is thrombosed external hemorrhoids or acute perianal abscess, commonly used anti-inflammatory drugs are cefadroxil capsules or roxithromycin dispersible tablets, but the main thing is to treat the primary disease, including the incision and drainage of abscesses, regular wound dressing changes after surgery, and careful exploration of the internal opening during surgery to avoid post-operative anal fistulae. For patients with thrombosed external hemorrhoids or mixed hemorrhoids, you should pay attention to your diet, drink more water, use fresh vegetables and fruits, make a habit of having bowel movements on time, do proper physical exercise, keep your work and rest routine, and not strain yourself. If you work in a seated position for a long time, you should make adjustments, and you should also have regular checkups, pay attention to perianal hygiene, and preferably insist on daily bathing.