Baby rash

My baby got a rash and it hurts everytime i clean her. 😢 She never had this before.

Anything that will help it go away? And how to prevent it? Ftm