hi well come to hcm.
It seems from your complain you might have renal stone associated with UTI.
But if you can give further details like associated withother symptoms if you
had like fever
colour of urine,and durastion of pain etc will help us more
to suggest you better,At present you may submit for simple urine examination
and suggestive you may go for USG abdoman. Thanks