It seems to have fungal infection
, it might be common yeast that cause redness
, swelling and rash
in the neighboring areas. The white curdy like discharge from the yeast can be interfering. You can apply over the counter vaginal yeast suppositories. Along with it you can pick a pain killer for the pain and swelling.
The other reason for discharge is bacterial infection in such a case there is foul smelling.
The discharge can be tested in the lab for correct diagnosis.