Diaper rash

I noticed my daughter had a diaper rash, it’s not that bad, but she’s crying real bad?? What should I do? I already put something on it?