Long-term effects depend on the underlying cause of the condition. A swollen gland caused by a cut may heal quickly with no long-term effects. A person who has cancer or certain other underlying conditions may need lifelong treatment. Swollen glands are not contagious. However, if the underlying cause is an infection, such HIV , the infection may be contagious.
Treatment is directed at the cause, if the cause is known.
Pain medications may be given if the swollen gland is painful. Treatment for an infection may include antibiotics or surgery. Treatment for autoimmune disorders may include anti-inflammatory medications, such as ibuprofen, or medications to suppress the immune system, such as prednisone. If a medication is the cause, the medication may be stopped. Those with cancer may need surgery, chemotherapy , or radiation therapy .