Why is my body doing this?

so like I know I had a uti right after I had sex a couple of days ago but like I don't know if he pulled up because we were drunk and 3 days later, which was last night I started passing discharge with bright red blood in it
Why is my body doing this?
Post Opinion