Its better to confirm urinary infection by test report & then start treatment. There is no harm in waiting for report. Till that time you can take some antispasmodics to relieve pain. You can take syrup alkacitral safely. Also you can take some medicines to relax uterus
(in consultation with your doctor, if it appears to be uterine cramps
.(uterine contractions may not be seen on ultrasound
Wish you good health.