will i get a uti if i don’t pee after sex?

i’m a virgin and am planning on having sex soon with my bf. so i’ve got some questions. if i don’t pee after sex am i going to get a uti? when is too late to pee? also if i do get a uti what should i do?