diet for cat with urinary infection or upset stomach

hi you sound as if you are not sure what is wrong with your cat. Without knowing for sure it is impossible to properly treat.

I have a web page about urinary infections which gives some advice about treatment here

https://www.our-happy-cat.com/cat-urinary-problems.html

For a stomach upset, well it depends on what has caused it and whether or not it is a symptom of some other illness. only a vet will be able to diagnose. However I also have a page about cat diarrhoea which you may also find useful.