Thanks for the query,
can be erysipella,
It is a bacterial infection of superficial lymphatics.
Infection from lymphatics goes to lymph nodes and hence causes pain and swelling.
You may require treatment with oral antibiotics
Please meet a dermatologist
for exact diagnosis and treatment.
Let me know if you have any other doubt.
you can ask a direct question to me on this forum, following the below link.
Wishing you a good health.