Sexually transmitted disease may increase the chance of urinary tract infection but it is very unusual that a kidney is infected because of sexual activity.