Treatment for swollen glands focuses on treating the cause. For example, a bacterial infection may be treated with antibiotics, while a viral infection often goes away on its own. If cancer is suspected, a biopsy may be done to confirm the diagnosis.
Any swollen lymph nodes that don't go away or return to normal size within about a month should be checked by your doctor.
How long will lymph nodes remain swollen?
Lymph nodes may remain swollen or firm long after an initial infection is gone. This is especially true in children, whose glands may decrease in size while remaining firm and visible for many weeks.