This can be easily diagnosed. Just send a sample of your urine and a swab of your vagina to the laboratory to test for infection if any.
Depending on the results, your doctor will prescribe the appropriate medication.
It can either be anti-fungal or antibiotic (for bacterial) medication and it will help effectively treat the infections.