To choose the best anti-infective drugs for swollen lymph nodes, different drugs need to be selected according to the causes of swollen lymph nodes. The more common causes are bacteria, viruses, Mycobacterium tuberculosis infection, and some tumors, and the commonly used drugs are as follows: 1. Bacteria and viruses: If the swollen lymph nodes are caused by usual bacterial and viral infections, antibacterial drugs should be selected, such as amoxicillin, roxithromycin, cephalosporins, and sulfonamides, etc.; 2. Mycobacterium tuberculosis: If the swollen lymph nodes are caused by Mycobacterium tuberculosis, anti-TB treatment should be carried out accordingly, and anti-TB drugs such as rifampin and isoniazid can be used; 3. Tumors: If the lymphatic metastasis is caused by lymphoma or solid tumors, corresponding treatment for the tumor is needed. If patients have swollen lymph nodes, they should go to the hospital for examination in a timely manner, and should not take medication on their own to avoid delaying the disease.