Welcome to HealthcareMagic.
It probably is UTI.You need to get Urinalysis
and urine culture done to confirm the diagnosis and decide the plan of treatment.Its unlikely to be genital Herpes
which presents in a different fashion.
Please get an Urine examination done.Meanwhile you should drink lots of water (about 5 lts per day)to wash out the infection as much as possible.