hi..thanks of your query.
the time taken for a lesion on skin would depend on the depth of the injury
.if it is a superficial peeling out of sin , it should not be more the 5-7 days.You might have reacted to any cream or its ingredients put on it.
As of now, you can put an antibiotic cream like Mupirocin
2% cream 2-3 times per day on it for 7 days. The 'yellow stuff' you mention may be due to bacterial infection on the wound.Please do not touch it , as this might increase the chances of scar remaining.
hope this helps.take care!