You must have applied some cream over the same
This is very common in summers
Due to being wet final infections are very common in groins and areas where sweat is easily there
Next Steps
Send pics and consult asap as it might spread
Health Tips
Avoid keeping the area wet