Anal sex and infections?

Tiah

I know for vaginal sex you're supposed to pee after to reduce your chances of a uti so would that be the same for anal sex (like could you get some sort of infection like during vaginal sex but obviously not a uti), like shower right after to get the sperm out?

Or should I just relax.