UTI? Help?

So I sometimes get a UTI (at least I think it’s one since it has all the symptoms of one) but it generally doesn’t last to long (two to three days at maximum).

I think it can be caused by masturbation cause I do that a lot and I usually get it after.

I’m only 13 and by parents don’t think I know what masturbating is and it would be really awkward to tell them so i don’t really want to.

Should I just let it go away on its own?

What can help to stop me from getting one?