welcome to healthcare magic forum .
thank you for your query .
it look like you have infective dermatitis
it may be due to fungal or bacterial infection .
you need to apply good antibiotic cream over it .
keep the leg dry and clean
better to consult dermatologist
anti histaminic will help you in itching
keep the leg elevated to avoid swelling
i hope i answered your query .