Thank you for your query.
Do not panic.It maybe a diaper rash
Avoid diapers for a few days.Keep the area clean and dry.
Apply a diaper cream thrice daily to the local area.
Consult your doctor if the problem persists.
If you have any further queries you are free to consult me.
Hope this answers your query.
Wishing a speedy recovery.
Have a nice day.