Swollen lymph nodes that appear suddenly and are painful are usually due to injury or infection. Slow, painless swelling may be due to cancer or a tumor. Home Care. Painful lymph nodes are generally a sign that your body is fighting an infection. The soreness usually goes away in a couple of days, without treatment.
https://www.mountsinai.org/health-library/symptoms/swollen-lymph-nodes

