ah can i prevent a UTI?!?

I had sex with my bf today (all good had a condom plus i'm on the pill )but i forgot to pee after.. it actually slipped my mind!! And I get UTI's really easily, is there anything i can do to somewhat prevent it from happening?