I’m a little worried

So when I pee it’s really painful right at the end and then my peephole bleeds, I notice that as when I wipe theres blood on the paper and in the bowl (tmi but I know it’s not from my cervix as I’ve stuck my finger to check at make sure it’s not) is that a Urinary tract Infection? Are you supposed to have blood in a UTI because google says you can but people are saying it’s really bad?