Please seek medical attention.
Sore and swollen vagina can be a side of effect of having a yeast infection. Have you been treated for the yeast infection? If no, then you would need to otherwise, it'll just get worst. You're boyfriend should be treated too. A cream for yeast infections can be used along with the pessary/pill and that should help the pain and swelling.