As he is passes wet farts due to this anal excoriation is there. First you have to treat that than your child problem of rashes goes away.
Is your child on breast feeding or top feeding.
Next Steps
Get his Stool routine,microscopic examination and stool for Reducing Substance done.
Health Tips
As lactose intolerance is to be ruled out after stool examination as adviced. Nothing to worry.