UTI masturbation?

So I recently found out that I have a UTI (I think anyways?) and I tried masturbating but it's really really uncomfortable. I bought a new "toy" and wanted to test it. So, I can't tell if it's just because my UTI or this toy is just really sucky.