Treatment is usually cold compresses, over the counter anti-inflammatory analgesics(pain killers) like acetaminophen or ibuprofen, antibiotics if cause of infection is suspected to be a bacteria
and surgical drainage if there is any abscess
It is very difficult to precisely confirm a diagnosis without examination and investigations and the answer is based on the medical information provided. For exact diagnosis, you are requested to consult your doctor. I sincerely hope that helps.