Welcome to HCM,
It seems that you might have some poisonous insect bite giving allergic rash
with severe itching
Due to bad itching nail scratches might produced some infection on the part.
Go for short course of antibiotic to clear infection.
or Levo-cetrizine as and when required.
Apply some local triple acting cream.
Keep that part dry and airy.
Ok and bye.