Swollen labia at 26 weeks pregnant?

So my labia has been swollen and red for about 4 days now.. also have some thick discharge. I think it’s a yeast infection and I also had medication for it but it keeps coming back. My labia is so red and sore I can’t even sit or walk without pain.. what do I do? Why do I keep getting infections?