Cornstarch can help absorb moisture and reduce friction, which might improve mild diaper rash. Cornstarch should not be used if the diaper rash is caused by a yeast infection, as it won't treat it.