Thank you for consulting docorspring.com
From the symptoms you have mentioned you are probably having urinary tract infection (with or without a PID- Pelvic inflammatory disease) . You have also mentioned that you had vaginal bacterial infection which could have spread to the urethra from there it could have ascended to bladder, ureters and kidney. This must be the reason for your pelvic pain. This is most common among sexually active women. E. Coli is the most common organism and staphylococcus and gut organisms also cause cystitis.
Recurrent rate of UTI is high among women. So you should completely get it treated. Antibiotics like norfloxacin, nitrofurantoin twice daily for a week can help you. But as you have already had medicines for your vaginal bacterial infection, I suggest you to seek your GPs help to get your urine sample analyzed and for urine culture and sensitivity. By doing urine culture and sensitivity, you can find which antibiotic drug is sensitive and have your antibiotic accordingly.
Antibiotic therapy is the mainstay.
Drink plenty of water.
Fill your bladder without fear of urge to urinate to flush away bacteria from your bladder. Clean your genital area often with slight cold water. If you have any further doubts you can freely ask through ask a doctor service in doctorspring.com.
We are happy to help you.