The anal swelling is mostly considered to be caused by inflammation or due to dry stool, which cuts the anus in the process of defecation, and is also prone to anal pain. The first thing you need to do is to regulate your bowels, eat more vegetables with high dietary fiber, such as celery, spinach, bananas or honey water on an empty stomach to promote intestinal peristalsis and keep your bowels smooth and moist. Every night you can take a sitz bath with warm water or use a 1:5000 concentration of potassium permanganate solution to keep the area clean and hygienic to reduce the chances of infection. If accompanied by pain, antibiotics can be given under the guidance of a doctor, such as oral amoxicillin capsules or roxithromycin capsules, and avoid eating spicy and stimulating foods.