UTI and masturbating

Kaleigh
So me and my boyfriend started sexting a couple days ago, and I mean for HOURS at a time. I was fine the first couple days but then yesterday and today it feels like I have a UTI. Can you get an infection from masturbating too much??