if you are having unprotected sex with different partners, yes you should get yourself tested for
HIV irrespective of your UTI. UTI will not affect your HIV results
Next Steps
get a consultation with a sexologist/venereologist/urologist
Health Tips
Use protection every time you have any sexual activity with a partner