What can I do to get rid of this rash?

Shaving the hair on the back and sides of my thighs has always caused a little rash so I decided to use Nair. I still got a rash, but now it’s worse! It’s so painful