Thanks for query,
You might some injury
in the vagina giving rise to some infection.
You might have some infection in urinary tract
If swelling on the part and infection in the urine is there you consult your doctor and seek his advice.
ok and bye.