Rash near my vagina

I have a rash near my vagina. It hurts every time I pee when the urine goes over it. What’s the best way to get rid of this rash?

I’m also pregnant, so something safe would be best